Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python SciPy安装失败:quadpack错误_Python_Scipy_Atlas - Fatal编程技术网

Python SciPy安装失败:quadpack错误

Python SciPy安装失败:quadpack错误,python,scipy,atlas,Python,Scipy,Atlas,我尝试在我的用户帐户~/local上使用easy_install和带有源文件的“python setup.py install”方法安装scipy。我得到这个错误: error: Setup script exited with error: Command "gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp

我尝试在我的用户帐户~/local上使用easy_install和带有源文件的“python setup.py install”方法安装scipy。我得到这个错误:

error: Setup script exited with error:
Command "gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE
-fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
-I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6
-c scipy/integrate/_quadpackmodule.c
-o build/temp.linux-x86_64-2.6/scipy/integrate/_quadpackmodule.o"
failed with exit status 1
我使用的是“gcc版本4.4.6 20120305(Red Hat 4.4.6-4)(gcc)”。这个问题可能与编译器或python2.6版本有关吗?否则我能查什么

谢谢


F.

当编译失败时,您不知道更多信息吗?您是否已检查是否具有所需的依赖项(Atlas+LAPACK、
python-devel
gfortran
)?在RHEL5中,我认为正确的软件包名称是
atlas
,因此请检查它是否可用。
python setup.py config
的输出是什么?@Salem@ali\m感谢您的回答,我安装了LAPACK+BLAS,但没有安装atlas。由于安装起来相当棘手(我没有root权限来关闭CPU节流),我将联系系统管理员。另外,
python setup.py config
还显示我使用的是不推荐的numpy版本(太旧)。