在python2.6中安装scipy

在python2.6中安装scipy,python,scipy,Python,Scipy,在redhat6.1中安装scipy0.14.0时 然后抛出以下错误。我已经安装了lapack和blas。我怎样才能解决这个问题 compile options: '-DNO_ATLAS_INFO=1 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c' gcc: scipy/interpolate/_ppoly.c In file included from /usr/lib64

在redhat6.1中安装scipy0.14.0时 然后抛出以下错误。我已经安装了lapack和blas。我怎样才能解决这个问题

compile options: '-DNO_ATLAS_INFO=1 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: scipy/interpolate/_ppoly.c
In file included from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761,
                 from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from scipy/interpolate/_ppoly.c:314:
/usr/lib64/python2.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
scipy/interpolate/_ppoly.c: In function â__pyx_f_5scipy_11interpolate_6_ppoly_croots_poly1â:
scipy/interpolate/_ppoly.c:11307: warning: implicit declaration of function âdgeev_â
scipy/interpolate/_ppoly.c: At top level:
/usr/lib64/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1629: warning: â_import_arrayâ defined but not used
/usr/lib64/python2.6/site-packages/numpy/core/include/numpy/__ufunc_api.h:241: warning: â_import_umathâ defined but not used
/usr/bin/gfortran -Wall -Wall -shared build/temp.linux-x86_64-2.6/scipy/interpolate/_ppoly.o -L/usr/src/lapack-3.5.0/ -L/usr/src/BLAS -L/usr/lib64 -Lbuild/temp.linux-x86_64-2.6 -llapack -lfblas -lpython2.6 -lgfortran -o build/lib.linux-x86_64-2.6/scipy/interpolate/_ppoly.so
/usr/bin/ld: /usr/src/lapack-3.5.0//liblapack.a(dgeev.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/src/lapack-3.5.0//liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/src/lapack-3.5.0//liblapack.a(dgeev.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/src/lapack-3.5.0//liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall -Wall -shared build/temp.linux-x86_64-2.6/scipy/interpolate/_ppoly.o -L/usr/src/lapack-3.5.0/ -L/usr/src/BLAS -L/usr/lib64 -Lbuild/temp.linux-x86_64-2.6 -llapack -lfblas -lpython2.6 -lgfortran -o build/lib.linux-x86_642.6/scipy/interpolate/_ppoly.so" failed with exit status 1

请发布整个输出,在最后一部分之前可能有更多信息。您是否尝试使用fPIC重新编译?整个o/p非常大。。我在这里发布了它的结构…你安装了Fortran 64位、BLAS库(包括开发头)等吗?耶。。我已经安装了blas lib。。fortran..lapack库