In file included from greenlet.c:5:0: greenlet.h:8:20: 致命错误: Python.h:没有那个文件或目录 编译中断. error: Setup script exited with error: command 'gcc' failed with exit status 1 解决方法是安装python-dev,这是Python的头文件和静态库包: sudo apt-get install python-dev 如果这个python-dev无
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-
参考: 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
在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 -----------------------
http://www.cnblogs.com/yuxc/archive/2012/05/13/2498019.html ———————————————————————————————————————————————————————— 今天在实验室的ubuntu机子上安装Eventlet,在安装依赖包greenlet时出现错误,出现编译错误. 错误如下: In file included from greenlet.c:5:0: greenlet.h:8:20: 致命错误: Python.h:没有
在安装uwsgi时,提示缺少python.h In file included :: plugins/python/uwsgi_python.h::: fatal error: Python.h: No such file or directory 其实是缺少python-dev 手动下载对应版本的python-dev:http://archive.ubuntu.com/ubuntu/pool/main/p/python-defaults dpkg - i python-dev_2.7.14-2
出现No such file or directory的错误,有两种情况,一种是真的没有Python.h这个文件,一种是Python的版本不对, 可以进入/usr/include/文件夹下的Python2.x文件夹里查找是否有Python.h这个文件. 如果是第一种情况,那么需要安装Python-dev这个包,(sudo apt-get install python-dev)