参考: fatal error: Python.h: No such file or directory Ubuntu下 fatal error: Python.h: No such file or directory 解决方法 根据使用的Python版本安装python-dev库. sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x i…
在linux命令行安装包时报错 src/MD2.c:31:20: fatal error: Python.h: No such file or directory 原因:缺少了python的dev 解决方法: $ sudo apt-get install python-dev…
装一台新服务器环境的时候,装uwsgi报错: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory #include <Python.h> 查了一下解决办法: yum install python-devel.x86_64   之后再运行安装,问题解决.…
ubuntu安装python qingstor-sdk, src/MD2.c:31:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Failed building wheel for pycrypto 解决方法: apt-get install python3.6-…
在Centos系统中安装 pip install MySQL-python 提示: _mysql.c:29:20: error: Python.h: No such file or directory_mysql.c:40:26: error: structmember.h: No such file or directory 解决方法:yum install python-devel #yum install mysql-devel.x86_64 -----------------------…
python能够执行,但编译第三包遇到 python.h no such file or directory 这个问题是由于没有安装python-devel, 安装此包就能够解决次问题,在Linux下就能够看到 /usr/include/python2.6/Python.h…
1 异常信息 usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o psutil/_psutil_common.c::: fatal error: Python.h: No such file or directory #include <Python.h> ^ compilation terminated. error: command…
问题: src/luci-bwc.c:35:20: fatal error: iwinfo.h: No such file or directorycompilation terminated.make[1]: *** [src/luci-bwc.o] Error 1 解决方法: 在/home/tingpan/openwrt/barrier_breaker/package/network/utils/iwinfo/src/include /home/tingpan/openwrt/barrier…
出现No such file or directory的错误,有两种情况,一种是没有Python.h这个文件,一种是Python的版本不对, 可以进入/usr/include/文件夹下的Pythonx.x文件夹里查找是否有Python.h这个文件. 如果是第一种情况,那么需要安装python-dev这个包,(sudo apt-get install python-dev). --------------------- 这里记录一下,原文转自于: https://blog.csdn.net/che…
安装与Python版本对应的 python-dev 即可,比如: $ -dev…