在查看了其他类似的线程后,我仍然无法运行pycrypto。
我正在尝试让其在我的Ubuntu笔记本电脑上运行 - 但我在我的Windows PC上也无法管理它。
我下载了pycrypto-2.6,进行了解压,并运行了:
python setup.py build
但是随后发生了这件事情
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 - fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-i686-?2.7/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
非常感谢任何帮助。