$ port search numpy
py-numpy @1.3.0 (python)
The core utilities for the scientific library scipy for Python
py25-numpy @1.3.0 (python)
The core utilities for the scientific library scipy for Python
py25-symeig @1.4 (python, science)
Symeig - Symmetrical eigenvalue routines for NumPy.
py26-numpy @1.3.0 (python)
The core utilities for the scientific library scipy for Python
py26-scikits-audiolab @0.10.2 (python, science, audio)
Audiolab is a python toolbox to read/write audio files from numpy arrays
Found 5 ports.
$
如其他地方所建议的,macports在多个架构上运行良好,MacOsX+的版本允许更新等:
在您的情况下,只需发布:
或者,如果您想/需要自己编译,HJBlog中的指令非常有用。我测试了matplotlib的64位版本,可以很容易地编译它。
sudo easy_install -U numpy
通过setuptools安装将在sys.path上获得非系统实用程序的新numpy(我听说一些苹果实用程序依赖于系统numpy)。一般来说,setuptools会在OS X上“做正确的事情”
请改用
pip install -U numpy
,因为easy_install已被弃用,取而代之的是pip
相关问题 更多 >
编程相关推荐