psutil

简介: tar -zxvf psutil-2.1.3.tar.gzcd psutil-2.1.3 python setup.py install安装是出现报错error: command 'gcc' failed with exit status 1解决办法yum install gcc python-devel重新安装 python setup.

tar -zxvf psutil-2.1.3.tar.gz

cd psutil-2.1.3

 python setup.py install

安装是出现报错

error: command 'gcc' failed with exit status 1

解决办法

yum install gcc python-devel

重新安装

 python setup.py install

安装成功

 

wget https: //pypi .python.org /packages/source/p/psutil/psutil-2 .1.3. tar .gz
目录
相关文章
|
5月前
|
并行计算 Linux Docker
Docker【部署 07】镜像内安装tensorflow-gpu及调用GPU多个问题处理Could not find cuda drivers+unable to find libcuda.so...
Docker【部署 07】镜像内安装tensorflow-gpu及调用GPU多个问题处理Could not find cuda drivers+unable to find libcuda.so...
306 0
|
7月前
|
XML Shell Linux
python内置模块(random、os、sys、shelve、configparser、xml)
python内置模块(random、os、sys、shelve、configparser、xml)
46 0
|
9月前
|
安全 Python
YAML+PyYAML笔记 8 | PyYAML源码之full_load(),full_load_all(),safe_load(),unsafe_load(),unsafe_load_all()
YAML+PyYAML笔记 8 | PyYAML源码之full_load(),full_load_all(),safe_load(),unsafe_load(),unsafe_load_all()
60 1
|
9月前
|
并行计算 Ubuntu PyTorch
ImportError:..mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor6deviceEv解决
ImportError:..mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor6deviceEv解决
706 0
|
11月前
|
Python
【python3.6】pyinstaller报错AssertionError: Failed to determine matplotlib‘s data directory!【解决方案】
【python3.6】pyinstaller报错AssertionError: Failed to determine matplotlib‘s data directory!【解决方案】
173 0
|
12月前
|
Python
python离线安装环境 解决 ERROR: Could not find a version that satisfies the requirement xxx 以及winError[10061]
python离线安装环境 解决 ERROR: Could not find a version that satisfies the requirement xxx 以及winError[10061]
496 0
|
Linux Python
Linux上PyCharm报错及解决:ImportError: No module named 'sklearn'
Linux上PyCharm报错及解决:ImportError: No module named 'sklearn'
155 0
|
IDE 开发工具 Python
Easy Games With Python and Pygame(一)- Pygame Quickstart
Easy Games With Python and Pygame(一)- Pygame Quickstart
Easy Games With Python and Pygame(一)- Pygame Quickstart
|
Python
Command "python setup.py egg_info" failed with error code 1
Command "python setup.py egg_info" failed with error code 1
118 0
Command "python setup.py egg_info" failed with error code 1