因此,我在Windows 10上使用以下代码安装了NumPy,SciPy和Matplotlib。我想安装matplotlib.pylot,但收到错误消息。
我已经尝试过重新安装matplotlib。有解决方案吗?
(work) C:\DEV>python -m pip install numpy #success
...#success
(work) C:\DEV>python -m pip install scipy #success
...#success
(work) C:\DEV>python -m pip install matplotlib
...#success
(work) C:\DEV>python -m pip install matplotlib.pyplot
Collecting matplotlib.pyplot
ERROR: Could not find a version that satisfies the requirement matplotlib.pyplot (from versions: none)
ERROR: No matching distribution found for matplotlib.pyplot
答案 0 :(得分:0)
看看Wheels
git clone https://github.com/matplotlib/matplotlib
git clone https://github.com/jbmohler/matplotlib-winbuild
python matplotlib-winbuild\buildall.py
答案 1 :(得分:0)
一次,当我遇到这种错误时,问题出在Python版本上。请始终确保您尝试下载的软件可用于您使用的Python。如果不是,请降级Python。