wie an anderer Stelle vorgeschlagen, arbeitet Macports fein auf mehrere Architektur und Versionen von MacOsX + ermöglicht Updates und mehr:
$ 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.
$
in Ihrem Fall, einfach Ausgabe:
$ sudo port install py26-numpy
alternativ, wenn Sie/müssen selbst kompilieren wollen, sind die Anweisungen in HJBlog sehr nützlich. Ich testete und konnte die 64-Bit-Version von Matplotlib problemlos kompilieren.
von Austin Wie bereits veraltet ist, müssen Sie http://r.research.att.com/gfortran-4.2.3.dmg zuerst installieren. Getestet auf einem neuen 10.6.4 installieren – Mark
ich ähnliche Probleme hatte versucht sudo easy_install -U numpy Also habe ich folgendes: sudo easy_install installieren Pip. Than installiert numpy über 'pip' pip installieren numpy was gut funktioniert. –