解决Python安装Matplotlib包报错:ERROR Could not find a version that satisfies the requirement matplotlib(1)

python安装matplotlib包报错:ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)ERROR 以及其他ERROR: Could not find a version that satisfies the requirement xxx包 (from versions: none)的解决方案

遇到的问题

一个项目需要用到matplotlib包,但是发现之前没有安装过,故习惯性按照如下方法尝试安装

file->setting->project:项目名>python interpreter->搜索 matplotlib->install->报错 ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)ERROR

结果报错版本不匹配。。下面开始找解决方法

失败的过程

不知道是不是pip的问题?尝试更新pip

打开安装py的可执行文件的位置,然后

python.exe -m pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

作者:普通网友

物联沃分享整理
物联沃-IOTWORD物联网 » 解决Python安装Matplotlib包报错:ERROR Could not find a version that satisfies the requirement matplotlib(1)

发表回复