He instalado pynum y scipy (en OSX Lion con Python 2.7), pero cuando traté de construir matplotlibInstalación (build) matplotlib en Mac OS X Lion
git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install
Tengo estos errores:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:242: error: declaration for parameter ‘FMFontDirectoryFilter’ but no such parameter
src/_macosx.m:5912: error: expected ‘{’ at end of input
lipo: can't open input file: /var/folders/qw/pr2f7vq91b3c3ngkxrrqplm8zkv09r/T//ccAgEklo.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1
¿Podría alguien decirme cuál es el problema?
P.S. Al principio trataron de instalarlo de esta manera:
pip install -e git+https://github.com/matplotlib/matplotlib#egg=matplotlib-dev
pero no funcionó para mí
Esto no es una solución, pero si realmente se siente frustrado, podría intentar instalar la [Distribución de Python de Free Enthought] (http://www.enthought.com/products/epd_free.php), que viene con numpy, scipy y matplotlib. –
Acabo de probar y compila bien para mí con python 2.7 y lion – jterrace