阿里云服务器使用问题fatal error: Python.h: No such file or directory解决
2016-12-24 19:58
1016 查看
问题:
安装python包cython, 使用pip安装:
sudo
pip install cython
出现问题:
fatal error: Python.h: No such file or directory
解决:
http://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory
fatal error: Python.h: No such file or directory
sudo apt-get install python-dev # for python2.x installs
sudo apt-get install python3-dev # for python3.x installs
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installing cython script to /usr/local/bin
Installing cygdb script to /usr/local/bin
Installing cythonize script to /usr/local/bin
Successfully installed cython
安装python包cython, 使用pip安装:
sudo
pip install cython
出现问题:
fatal error: Python.h: No such file or directory
解决:
http://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory
fatal error: Python.h: No such file or directory
sudo apt-get install python-dev # for python2.x installs
sudo apt-get install python3-dev # for python3.x installs
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installing cython script to /usr/local/bin
Installing cygdb script to /usr/local/bin
Installing cythonize script to /usr/local/bin
Successfully installed cython
相关文章推荐
- 阿里云服务器使用问题fatal error: Python.h: No such file or directory解决
- gcc编译报错,fatal error: gnu/stubs-soft.h: No such file or directory问题解决!!
- 使用bazel 编译tensorflow serving时报错:fatal error: Python.h: No such file or directory
- fatal error: Python.h: No such file or directory 解决
- python使用urllib.urlretrieve时出现“IOError:[Errno 2] No such file or directory”解决办法
- 出现fatal error: pulse/pulseaudio.h: No such file or directory问题解决
- 配置caffe的python环境时make pycaffe提示fatal error: numpy/arrayobject.h No such file or directory解决方法
- 升级gcc4.8 遇到 fatal error: gnu/stubs-32.h: No such file or directory 问题的解决方法
- fatal error: Python.h: No such file or directory 解决办法
- 使用py2exe 将python文件转成exe文件(以及 error: [Errno 2] No such file or directory: 'MSVCP90.dll'解决方法)
- QT关于“fatal error: QApplication: No such file or directory“错误解决
- error: asm/arch/regs-gpio.h: No such file or directory 此类问题的解决办法
- error: asm/arch/regs-gpio.h: No such file or directory 此类问题的解决办法
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- [RK_2014_0920]ubuntu下,使用ldconfig解决:error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
- fatal error: Python.h: No such file or directory
- Python调用SIFT出现的问题:No such file or directory: '*.sift' 解决办法,超好用
- Ubuntu caffe安装python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory
- 安装pycrypto出现“fatal error: Python.h: No such file or directory”错误
- 编译boost python模块遇到的错误:../../libraries/boost_1_44_0/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory