在 Mac(雪豹)上安装 NumPy 和 Matplotlib 时遇到问题
从 python 网站安装了 Python 2.7 后,我尝试安装 NumPy 和 Matplotlib,但是当我这样做时,会出现一个框,告诉我它需要系统 python 2.6。我需要运行旧版本吗?
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. Do I need to be running an older version!?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些模块的 Sourceforge 版本树对于 OS X 用户来说很棘手。 :PI 在安装它们时遇到问题,因为我没有意识到有专门为 Snow Leopard 构建的 dmg....
egg 和 .dmg 文件有不同版本,您应该注意下载。如果有 SL,您应该安装这些版本的 NumPy 和 SciPy。我在一台 32 位机器上运行 SL,该机器安装了 Python2.6、Python2.7 和 Python3.2,并且运行良好。
我不想说你是盲目的,也不想指责你,但你可能会错过正确的二进制版本。 :P
Sourceforge version trees of those modules are tricky for OS X users. :P I was having problems installing them because I did't realize there were dmgs exactly built for Snow Leopard...
There are different version of .egg and .dmg files, you should pay attention to download. If have SL, you should installi these versions of NumPy and SciPy. I'm running SL on a 32bit machine which has Python2.6 Python2.7 and Python3.2 installed and running fine.
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