Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 removal of 'configparser' #31

Open
Anthony904175 opened this issue Jul 11, 2024 · 0 comments
Open

Python 3.12 removal of 'configparser' #31

Anthony904175 opened this issue Jul 11, 2024 · 0 comments

Comments

@Anthony904175
Copy link

Anthony904175 commented Jul 11, 2024

Hello, when trying to install n2v on the current working version of python (3.12) you get the following error. Reverting to a previous version of python even just 3.11.9 will fix this issue but I wanted to let you know about it.

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/Users/b/n2v/setup.py", line 30, in
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/b/n2v/versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/Users/b/n2v/versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/b/n2v/versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant