发布时间:2019-08-29 07:34:28编辑:auto阅读(1898)
系统: Parrot Linux
软件: 系统python默认版本2.7 PyCharm默认版本Python3.5
场景: Build pycrypto-2.6.1 失败
提示:
building 'Crypto.PublicKey._fastmath' extension x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/usr/include/python3.5m -c src/_fastmath.c -o build/temp.linux-x86_64-3.5/src/_fastmath.o src/_fastmath.c:31:20: fatal error: Python.h: No such file or directory command 'x86_64-linux-gnu-gcc' failed with exit status 1
如果使用3.5: sudo apt-get install python3.5-dev
如果使用2.7: sudo apt-get install python-dev
上一篇: 在windows下配置apache以cg
下一篇: Python脚本查看思科设备的接口
48960
48095
38835
35958
30375
27163
26156
20992
20826
19176
20°
719°
790°
767°
767°
747°
694°
816°
883°
1024°