【问题标题】:Installing matplotlib for Python 3.5 on mac for dummies在 mac 上为傻瓜安装 Python 3.5 的 matplotlib
【发布时间】:2017-11-27 20:12:12
【问题描述】:

如何为我的 mac 下载和安装 matplotlib for Python 3.5 以在 Eclipse 中使用?我的 Mac 运行的是 macOS High Sierra 版本 10.13.1。我可以处理量子力学和热力学,但是整个下载、安装和使用新的 python 程序/包/库/东西对我来说是非常混乱的。假设我什么都不知道,因为我不知道。

【问题讨论】:

标签: python macos matplotlib


【解决方案1】:

对于使用 Python 的科学工作,我建议使用 Anaconda。它安装了所有相关的软件包。 Follow these steps:

  1. Download Anaconda
  2. 双击下载文件夹中的文件

如需进一步设置 Eclipse,follow these steps.

鉴于您已经安装了 Python3,您也可以尝试:

python3 -m pip install matplotlib

【讨论】:

  • 所以我只是做了所有这些,但我仍然收到错误“没有名为'matplotlib'的模块”。我现在该怎么办?
【解决方案2】:

根据我的经验,考虑安装像 Anaconda 这样的包管理器是明智的。然而,对于 matplotlib 之类的东西,使用 pip install matplotlib 应该绰绰有余。供您参考,Mac 已经安装了 pip(一个包管理系统),因此运行上述命令就足够了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多