We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Failed building wheel for gmpy2 Running setup.py clean for gmpy2 Failed to build gmpy2 Installing collected packages: gmpy2, robot-detect Running setup.py install for gmpy2 ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-kh5vvxll/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5kh81p28/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'gmpy2' extension creating build creating build/temp.linux-i686-3.7 creating build/temp.linux-i686-3.7/src i686-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITHMPFR -DWITHMPC -I/usr/include/python3.7m -c src/gmpy2.c -o build/temp.linux-i686-3.7/src/gmpy2.o In file included from src/gmpy2.c:426: src/gmpy.h:252:12: fatal error: mpfr.h: No such file or directory 252 | # include "mpfr.h" | ^~~~~~~~ compilation terminated. error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-kh5vvxll/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5kh81p28/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-kh5vvxll/gmpy2/
The text was updated successfully, but these errors were encountered:
Please see if the solution from this thread works for you: https://stackoverflow.com/a/50554366
Sorry, something went wrong.
I had the same error on an aarch64 based system.
sudo apt install libmpc-dev
Fixed it for me.
No branches or pull requests
Failed building wheel for gmpy2
Running setup.py clean for gmpy2
Failed to build gmpy2
Installing collected packages: gmpy2, robot-detect
Running setup.py install for gmpy2 ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-kh5vvxll/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5kh81p28/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'gmpy2' extension
creating build
creating build/temp.linux-i686-3.7
creating build/temp.linux-i686-3.7/src
i686-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITHMPFR -DWITHMPC -I/usr/include/python3.7m -c src/gmpy2.c -o build/temp.linux-i686-3.7/src/gmpy2.o
In file included from src/gmpy2.c:426:
src/gmpy.h:252:12: fatal error: mpfr.h: No such file or directory
252 | # include "mpfr.h"
| ^~~~~~~~
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-kh5vvxll/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5kh81p28/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-kh5vvxll/gmpy2/
The text was updated successfully, but these errors were encountered: