matplotlib安装报错ERROR: Could not find a version that satisfies the requirement matplotlib

时间:2024-03-14 13:10:33

当使用pip安装包的时候经常会报:ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib 的错误。

matplotlib安装报错ERROR: Could not find a version that satisfies the requirement matplotlib

如图所示,当我们第一次执行pip install matplotlib时,用的是阿里云的源,然后报错,这时我们可以更换其他源来进行下载或者不使用源等它慢慢下载就可以解决这个问题。