-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error when type "pip install py-near", my Python version is 3.12.1 #18
Comments
I have the same problem. Looks like ed25519 is deprecated, maintainer recommends switching to pynacl |
I have the same issue, is it fixed? |
It's not fixed here, but you can use my fork where I've patched |
Thanks, it worked |
Open
Why is this still not fixed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
C:\Users\Admin>pip install py-near
Collecting py-near
Using cached py_near-1.1.30-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: aiohttp<4.0.0,>=3.7.4 in c:\users\admin\appdata\local\programs\python\python312\lib\site-packages (from py-near) (3.9.3)
Collecting ed25519<2.0,>=1.5 (from py-near)
Using cached ed25519-1.5.tar.gz (868 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py:467: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-4jer5g7j\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 115, in
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 1405, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 1339, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Temp\pip-install-x35th7se\ed25519_c378159047794ef0bc923945ed0239fe\versioneer.py", line 399, 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: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: