-
Notifications
You must be signed in to change notification settings - Fork 9
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 installing issue #55
Comments
I also tried to
where is cdd_f.h coming from? |
I also found this, downloaded the dist.zip file and tried to locally install it but it did not work for me. Also tried this, same error.
|
Thank you for the detailed report! A few quick things to try:
|
... oh, one final thought: can you see if installing with pip works any better (if not already using it - I'm not quite sure from the log). |
Yes, libgmp-dev is installed.
|
Ok, the problem is solved, I upgraded Cython from 0.29.14 to 0.29.30 and now it compiles fine. Even the pip install works perfectly! Thank you @mcmtroffaes . |
Great! Glad you figured it out. I probably ought to set a minimum Cython version in the build system requirements to avoid tripping this for others in the future. Would that be through pyproject.toml, setup_requires, ... or would you recommend something else? |
Sorry, I have not made a python package before, so I'm not familiar with the differences. But it looks like it's a combination of python3.10 and Cython, that changed Py_REFCNT which causes the failure. Probably doesn't happen in python<=3.9 even with an older Cython. |
That's fine. I've merged in a commit that sets a minimum Cython version, so pip will give a much more useful error message rather than failing during the build itself. Thank you again! |
On ubuntu 20.04, Python3.10 (under miniconda), I cannot install using pip install. This is the error I get:
Any idea on how to solve this?
The text was updated successfully, but these errors were encountered: