sunren 发表于 2018-8-14 09:50:38

fatal error: Python.h: No such file or directory 解决

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
页: [1]
查看完整版本: fatal error: Python.h: No such file or directory 解决