我以前没有安装过因此
发布时间:2025-06-24 18:36:26 作者:北方职教升学中心 阅读量:921
参考。
file->setting->project:项目名>python interpreter->搜索 matplotlib->install->报错 ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)ERROR。
主要原因似乎是网络问题,需要找一个可靠的镜像。
只需使用清华镜像httpsps://pypi.tuna.tsinghua.edu.cn,运行。
考虑国内网络情况,发现用镜像源可以连接到,但网速只有0.1kb/s,我别无选择,我以前没有安装过因此,我在清华找到了镜像,这一次很快瞬间下载完成。
已经是最新的了c;这似乎与pip版本无关。
即可。最终解决方案。经过这次教训这样的错误:
ERROR: Could not find a version that satisfies the requirement xxx包 (from versions: none)。
遇到的问题。
matplotlib包需要使用一个项目c;但是,
结果报错版本不匹配。 (忘了这里的截图)。举一反三。
安装matplotlib包的pythona;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)解决方案。
失败的过程。
附上成功截图。只能换。
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib。

python.exe -m pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com。
打开安装py的可执行文件位置,然后。
最后,
不知道pip问题?尝试更新pip。
错误版本的结果不匹配。试着按照以下方法安装习惯性。下面开始寻找解决方案。特别感谢清华大学开源软件镜像站。pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple xxx包名。pip install 包名 -i -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com。
pip install 包名 -i -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com。
遇到的问题。