psutil安装错误"Python.h: No such file or directory"解决
2018-01-09 09:48
483 查看
下载psutil源码包:wget https://pypi.python.org/packages/source/p/psutil/psutil-2.0.0.tar.gz
然后解压安装:sudo python setup.py install,出现如下错误:
需要安装依赖包:sudo yum install python-devel.x86_64。
重新安装即可。
然后解压安装:sudo python setup.py install,出现如下错误:
需要安装依赖包:sudo yum install python-devel.x86_64。
重新安装即可。
相关文章推荐
- 解决安装nginx的nginx: [emerg] mkdir() "/var/temp/nginx/client" failed (2: No such file or directory)问题
- Cacti安装nginx状态监控时出现No such file or directory错误的解决办法
- 解决"运行build.sh的脚本,报 -bash: ./build.sh: No such file or directory 的错误"
- 【CentOS 6.5】解决QtCreator 安装时错误:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
- windows下安装python的C扩展编译环境(解决“error: command 'cl.exe' failed: No such file or directory”)
- linux下安装pygame错误:linux/videodev.h:No such file or directory error解决方法
- 解决PHP 7编译安装错误:cannot stat ‘phar.phar’: No such file or directory
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-gcc-4.2' failed with exit status 1解决方法
- 安装tinyos后,出现Python.h:No such file or directory错误的解决方案
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- CodeBlocks "no such file or directory"错误解决
- 安装pycrypto出现“fatal error: Python.h: No such file or directory”错误
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- FastDFS安装配置过程中出现错误提示"/home/yuqing/fastdfs" can't be accessed, error info: No such file or directory
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- SlickEdit在64bit Ubuntu下运行vsinst安装程序出现"No such file or directory"的解决方法
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- mysql安装出现Errcode: 2 - No such file or directory错误的解决办法