在 Mac(雪豹)上安装 NumPy 和 Matplotlib 时遇到问题

发布于 2024-11-27 12:28:09 字数 106 浏览 1 评论 0原文

从 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゝ杯具 2024-12-04 12:28:09

这些模块的 Sourceforge 版本树对于 OS X 用户来说很棘手。 :PI 在安装它们时遇到问题,因为我没有意识到有专门为 Snow Leopard 构建的 dmg....

egg 和 .dmg 文件有不同版本,您应该注意下载。如果有 SL,您应该安装这些版本的 NumPySciPy。我在一台 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文