-
Notifications
You must be signed in to change notification settings - Fork 19
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
pip install spartan2 error #66
Comments
Collecting spartan2 × python setup.py egg_info did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
i am also getting this error |
@HopeFan , have you solved this issue ? I encounter it as well . |
This appears to be a deprecation in Cython 3.0.0, and spartan2 should be updated to fix this. In the mean time, I managed to fix this by installing Cython 0.29.36 instead. This in turn is incompatible with Python 3.11 and above, so I had to create a new environment with Python 3.10. |
Collecting spartan2
Using cached spartan2-0.1.3.post4.tar.gz (183 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "C:\Users\11381\AppData\Local\Temp\pip-install-5t_ej234\spartan2_82ce834d43d44be19f5f75529d918a3e\setup.py", line 7, in
from Cython.Build import cythonize, build_ext
ModuleNotFoundError: No module named 'Cython'
[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.
这个是啥问题啊
The text was updated successfully, but these errors were encountered: