ho installato pynum e SciPy (su OSX Lion con Python 2.7), ma quando ho provato a costruire matplotlibInstallazione (costruire) matplotlib in Mac OSX Lion
git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install
ho questi errori:
/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
Qualcuno potrebbe dirmi qual è il problema?
P.S. In un primo momento ho provato ad installare in questo modo:
pip install -e git+https://github.com/matplotlib/matplotlib#egg=matplotlib-dev
ma non ha lavorato per me
Questa non è una soluzione, ma se ti senti davvero frustrato, puoi provare a installare [Free Enthought Python Distribution] (http://www.enthought.com/products/epd_free.php), che viene fornito con numpy, scipy e matplotlib. –
Ho appena provato e compila bene per me con python 2.7 e lion – jterrace