2012-07-15 8 views
6

Sto tentando di installare mlpy e ottengo il seguente errore. Non so da dove iniziare. Qualcuno ha qualche idea?Errore gsl durante l'installazione di mlpy

$ sudo easy_install mlpy-3.5.0.tar.gz 
Password: 
install_dir /Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/ 
Processing mlpy-3.5.0.tar.gz 
Running mlpy-3.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lQNT_3/mlpy-3.5.0/egg-dist-tmp-EPgtAi 
mlpy/gsl/gsl.c:223:24: error: gsl/gsl_sf.h: No such file or directory 
mlpy/gsl/gsl.c:224:39: error: gsl/gsl_statistics_double.h: No such file or directory 
error: Setup script exited with error: command 'gcc' failed with exit status 1 

risposta

5

Non si dispone di pacchetto di sviluppo per gsl installato sul sistema. Su RHEL/Fedora/ecc. installa gsl-devel, su Debian/Ubuntu/etc. installa gsl-dev.

+0

Grazie ... sembra essere il problema! – user792036

+9

Ho appena riscontrato questo problema e il nome del pacchetto corretto per ubuntu/debian è: 'apt-get install libgsl0-dev' – Vall