【问题标题】:Trouble installing 'matplotlib'安装“matplotlib”时遇到问题
【发布时间】:2019-04-29 15:58:35
【问题描述】:

无法在 Windows 10、Python 3.7 上安装“matplotlib.pyplot”

我尝试了“pip install matplotlib.pyplot”并收到错误

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

【问题讨论】:

  • pip install matplotlib

标签: python python-3.x


【解决方案1】:

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

matplotlib.pyplot 正在从模块 matplotlib 调用 pyplot。你想要的是模块,matplotlib。然后从空闲或任何你运行它的地方,你可以打电话给matplotlib.pyplot

【讨论】:

    【解决方案2】:

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

    'pip 安装 matplotlib'

    我希望它有所帮助。 BR

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-11
      • 2011-10-17
      • 2013-12-24
      • 2020-02-27
      • 2018-02-25
      • 2011-06-06
      相关资源
      最近更新 更多