2014-05-09 104 views
3

我想在linux中安裝python 2.6中的scipy。但是當我安裝scipy 0.14.1時會拋出錯誤。我該如何解決它。回溯如下。如何在python 2.6中安裝scipy

blas_opt_info: 
blas_mkl_info: 
libraries mkl,vml,guide not found in /usr/local/lib64 
libraries mkl,vml,guide not found in /usr/local/lib 
libraries mkl,vml,guide not found in /usr/lib64 
libraries mkl,vml,guide not found in /usr/lib 
NOT AVAILABLE 

atlas_blas_threads_info: 
Setting PTATLAS=ATLAS 
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64 
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib 
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/atlas 
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2 
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64 
libraries ptf77blas,ptcblas,atlas not found in /usr/lib 
NOT AVAILABLE 


File "setup.py", line 196, in <module> 
setup_package() 
File "setup.py", line 187, in setup_package 
configuration=configuration) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/core.py", line 152, in setup 
config = configuration() 
File "setup.py", line 138, in configuration 
config.add_subpackage('scipy') 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py 1002,  in  
caller_level = 2) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py", line 971, in get_subpackage 
caller_level = caller_level + 1) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py", line 908, in _get_configuration_from_setup_py 
config = setup_module.configuration(*args) 
File "scipy/setup.py", line 8, in configuration 
config.add_subpackage('integrate') 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage 
caller_level = 2) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py", line 971, in ge t_subpackage 
caller_level = caller_level + 1) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/misc_util.py", line 908, in _g et_configuration_from_setup_py 
config = setup_module.configuration(*args) 
File "scipy/integrate/setup.py", line 10, in configuration 
blas_opt = get_info('blas_opt',notfound_action=2) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/system_info.py", line 311, in get_info 
return cl().get_info(notfound_action) 
File "/usr/lib64/python2.6/site-packages/numpy/distutils/system_info.py", line 462, in get_info 
raise self.notfounderror(self.notfounderror.__doc__) 
numpy.distutils.system_info.BlasNotFoundError: 
Blas (http://www.netlib.org/blas/) libraries not found. 
Directories to search for the libraries can be specified in the 
numpy/distutils/site.cfg file (section [blas]) or by setting 
the BLAS environment variable. 
+1

您已經安裝了您的系統上(LIB)和BLAS(LIB)圖譜的開發版本的任何版本的工具嗎? – Evert

+0

你使用的是什麼Linux發行版? –

+0

另外,看看http://stackoverflow.com/questions/7496547/python-scipy-needs-blas和各種答案(手動安裝和使用包管理器的人)。 – Evert

回答

-1

可以使用的virtualenv爲使用Python 2.6包括2.7或3.4

+0

這與問題無關。 –