gsl error while Installing mlpy [closed]

旧街凉风 提交于 2019-12-08 17:11:31

问题


I'm trying to install mlpy and I get the following error. I don't know where to start. Does someone have any clue?

$ 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

回答1:


You don't have development package for gsl installed on your system. On RHEL/Fedora/etc. install gsl-devel, on Debian/Ubuntu/etc. install gsl-dev.



来源:https://stackoverflow.com/questions/11494179/gsl-error-while-installing-mlpy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!