-
Notifications
You must be signed in to change notification settings - Fork 32
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
Installation fails step fails due to missing C header #2
Comments
You need libgmp-dev, not just libgmp. Make sure you have both installed. |
It should be noted that gmpy2 is a completely optional dependency and that the tool will work without it - albeit many times slower. |
@UFifty50 with @LeviBorodenko Is there a flag I can pass to install without gmp? Thanks! 😊 |
I have a similar error but it is missing mpfr.h |
Unfortunately I am not able to recreate this problem. Maybe due to not using a Mac. |
I am using a raspberry pi running Ubuntu. |
Hardware: 2020 Macbook Pro M1
OS: Big Sur
primify-install-output.txt
The command
python3 -m pip install primify
fails with the attached output.It looks like the install script is invoking
clang
to build some C code, but there is a missing header:gmp.h
. I double checked the thegmp
lib is installed on my system. I have the header on disk but clang is not being passed the correct include path so it is not found at compile time.The text was updated successfully, but these errors were encountered: