【发布时间】:2012-05-06 17:15:19
【问题描述】:
您好,我正在尝试在我的 Mac 上安装 matplotlib。我有狮子 OS X。
我的python版本是2.7.1(这是我从终端运行它时所说的)
每次我安装 matplotlib 时,都会出现这个错误
matplotlib 1.1.0 cannot be installed on this disk. matplotlib requires System python 2.7 to install.
我是 python 世界的新手,我需要一个工具来绘制一些东西......所以非常感谢一个清晰的解释。
谢谢!
【问题讨论】:
-
我已经发布了几次guide to installing matplotlib on osx,我的指示还没有失败。试试看,如果它不起作用,请告诉我?
-
更详细的回溯会有所帮助。您应该更具体地说明您使用什么方法来安装您所采取的步骤以及您遇到了什么错误。
-
@shuzOMGchen 嗨,我提到了上面的错误,即 matplotlib 1.1.0 无法安装在此磁盘上。 matplotlib 需要系统 python 2.7 才能安装。我只是使用来自以下链接sourceforge.net/projects/matplotlib/files的可执行文件安装它,我希望这更清楚!
标签: python matplotlib python-2.7