Sto riscontrando problemi nell'installazione della libreria Pandas di Python sul mio computer Mac OSX.Installazione di Pandas su Mac OSX
ho digitare quanto segue nel terminale:
$ sudo easy_install pandas
Ma tanto sono i seguenti:
Searching for pandas
Reading http://pypi.python.org/simple/pandas/
Reading http://pandas.pydata.org
Reading http://pandas.sourceforge.net
Best match: pandas 0.9.0
Downloading http://pypi.python.org/packages/source/p/pandas/pandas-
0.9.0.zip#md5=04b1d8e11cc0fc30ae777499d89003ec
Processing pandas-0.9.0.zip
Writing /tmp/easy_install-ixjbQO/pandas-0.9.0/setup.cfg
Running pandas-0.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ixjbQO/pandas-
0.9.0/egg-dist-tmp-EGREoT
warning: no files found matching 'setupegg.py'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution
unable to execute gcc: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
Io ho Xcode e gcc installato, tuttavia, gcc si trova solo quando si digita:
$ gcc
-bash: gcc: command not found
$ gcc-4.2
i686-apple-darwin11-gcc-4.2.1: no input files
Cosa devo fare?
Ho anche avuto problemi nell'installazione di Pandas, ma era perché avevo bisogno di aggiornare numpy prima. –