首页 > 编程语言 >Python3安装psutil报错

Python3安装psutil报错

时间:2022-09-29 20:00:38浏览次数:52  
标签:pip3 5.9 psutil Running 报错 install Python3

报错:
pip3 install psutil

    compilation terminated.
    error: command 'gcc' failed with exit status 1
解决:
yum install python3-devel
继续安装:
[root@centos ~]$ pip3 install psutil
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting psutil
  Using cached https://files.pythonhosted.org/packages/8f/57/828ac1f70badc691a716e77bfae258ef5db76bb7830109bf4bcf882de020/psutil-5.9.2.tar.gz
Installing collected packages: psutil
  Running setup.py install for psutil ... done
Successfully installed psutil-5.9.2

标签:pip3,5.9,psutil,Running,报错,install,Python3
From: https://www.cnblogs.com/xjzyy/p/16742857.html

相关文章