项目场景:PyCharm代码调试
问题描述:
ModuleNotFoundError: No module named 'psutil'( Pycharm 中 import psutil 出现错误):ModuleNotFoundError: No module named 'psutil'
原因分析:
这是由于环境中缺少了psutil包,需要使用conda或者pip命令进行安装解决方案:
pip install psutil
或
conda install psutil
# 方案报错
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.