简体   繁体   English

无法在Mac上安装NumPy和Matplotlib(雪豹)

[英]Trouble installing NumPy and Matplotlib on Mac (snow leopard)

Having installed Python 2.7 from the python website I have since tried to install both NumPy and Matplotlib, but when I do so a box comes up telling me it requires system python 2.6. 从python网站安装了Python 2.7后我尝试安装NumPy和Matplotlib,但是当我这样做时,一个盒子出现告诉我它需要系统python 2.6。 Do I need to be running an older version!? 我需要运行旧版本吗??

Sourceforge version trees of those modules are tricky for OS X users. 对于OS X用户来说,这些模块的Sourceforge版本树很棘手。 :PI was having problems installing them because I did't realize there were dmgs exactly built for Snow Leopard... :PI在安装它们时遇到了问题,因为我没有意识到有完全为Snow Leopard构建的dmgs ...

There are different version of .egg and .dmg files, you should pay attention to download. 有.egg和.dmg文件的不同版本,你应该注意下载。 If have SL, you should installi these versions of NumPy and SciPy . 如果有SL,你应该安装这些版本的NumPySciPy I'm running SL on a 32bit machine which has Python2.6 Python2.7 and Python3.2 installed and running fine. 我在32位机器上运行SL,它安装了Python2.6 Python2.7和Python3.2并运行良好。

I don't want to say that you're blind nor I'm accusing you, but it might happen that you miss the right binary version. 我不想说你是盲人也不是在指责你,但是你可能会错过正确的二进制版本。 :P :P

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM