无法安装“ matplotlib”

时间:2019-04-29 15:58:35

标签: python python-3.x

无法在Windows 10,Python 3.7上安装'matplotlib.pyplot'

我尝试'pip install matplotlib.pyplot'并收到错误

这是确切的错误代码: 找不到满足matplotlib.pyplot要求的版本(来自版本:) 找不到与matplotlib.pyplot匹配的分布

2 个答案:

答案 0 :(得分:1)

不要使用pip install matplotlib.pyplot,请使用pip install matplotlib

matplotlib.pyplot正在从模块pyplot调用matplotlib。您需要的是模块matplotlib。然后,从空闲状态或运行此状态的任何地方,都可以致电matplotlib.pyplot

答案 1 :(得分:0)

尝试仅在命令行(或终端)上使用pip install:

“ pip install matplotlib”

我希望它会有所帮助。 BR

相关问题