[pycrypto] macOS, pip3 install pycrypto: fatal error: 'gmp.h' file not found?

天上火 beargan at hotmail.com
Wed Jul 15 05:58:14 UTC 2020


macOS: 
pip3 install pycrypto

 fatal error: 'gmp.h' file not found?


Error message:
///////////////////////////////////
xcrun -sdk macosx clang -arch x86_64 -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Headers -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m -c src/_fastmath.c -o build/temp.macosx-10.14-x86_64-3.7/src/_fastmath.o
    src/_fastmath.c:36:11: fatal error: 'gmp.h' file not found
    # include <gmp.h>
              ^~~~~~~
    1 error generated.
    error: command 'xcrun' failed with exit status 1


///////////////////////////////////

How to install pycrypto ?


--------------------------------------------------
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dlitz.net/pipermail/pycrypto/attachments/20200715/4a1588b7/attachment.htm>


More information about the pycrypto mailing list