阿里云服务器使用问题fatal error: Python.h: No such file or directory解决
2017-01-02 14:37
1966 查看
阿里云服务器使用问题fatal error: Python.h: No such file or directory解决
安装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
相关文章推荐
- python多进程编程
- python 守护进程(daemon)
- Python
- python中django使用MySQL时出问题如何解决
- 走进Python世界(3)----数据类型与变量
- 爬虫中的python使用技巧
- Sublime Text3 以及 SublimeREPL使用Virtualenv执行python
- python 随机抽取Fastq文件
- python的gzip库使用方法
- 【转】Python实现不同格式打印九九乘法表
- Python 中序列的索引与分片
- python 单例模式
- python 反射
- 源码安装python2.7
- Python学习(机器学习_线性回归)
- nose1.3.7文档翻译--3.Writing tests
- Web Scraping with Python-Chapter1读书笔记
- 利用Vim给Python代码自动加入头部必须注释
- Python列表解析和生成器表达式
- 七月算法课程《python爬虫》第四课: 相关库使用与登录问题