Numpy安装依赖关系

问题描述:

我试图更新我的机器并遇到问题。我遵循此页上的说明:http://www.scipy.org/Installing_SciPy/Linux。看起来较新的Numpy/Scipy版本需要较旧版本的Python。我目前在Scientific Linux Fermi 6.2(64bit)上运行Python 2.6.6。Numpy安装依赖关系

yum install python-numpy python-scipy 
Loaded plugins: fastestmirror, protectbase, refresh-packagekit, security 
Repository science_ScientificLinux is listed more than once in the configuration 
Loading mirror speeds from cached hostfile 
0 packages excluded due to repository protections 
Setting up Install Process 
Resolving Dependencies 
--> Running transaction check 
---> Package python-numpy.x86_64 0:1.6.1-15.1 will be installed 
--> Processing Dependency: python < 2.5 for package: python-numpy-1.6.1-15.1.x86_64 
--> Processing Dependency: libgfortran.so.1()(64bit) for package: python-numpy-1.6.1- 15.1.x86_64 
--> Processing Dependency: libblas.so.3()(64bit) for package: python-numpy-1.6.1-15.1.x86_64 
---> Package python-scipy.x86_64 0:0.6.0-6.3 will be installed 
--> Processing Dependency: python < 2.5 for package: python-scipy-0.6.0-6.3.x86_64 
--> Processing Dependency: libfftw3.so.3()(64bit) for package: python-scipy-0.6.0-6.3.x86_64 
--> Running transaction check 
---> Package compat-libgfortran-41.x86_64 0:4.1.2-39.el6 will be installed 
---> Package fftw.x86_64 0:3.2.1-3.1.el6 will be installed 
---> Package libblas3.x86_64 0:3.3.1-10.1 will be installed 
---> Package python-numpy.x86_64 0:1.6.1-15.1 will be installed 
--> Processing Dependency: python < 2.5 for package: python-numpy-1.6.1-15.1.x86_64 
---> Package python-scipy.x86_64 0:0.6.0-6.3 will be installed 
--> Processing Dependency: python < 2.5 for package: python-scipy-0.6.0-6.3.x86_64 
--> Finished Dependency Resolution 
Error: Package: python-numpy-1.6.1-15.1.x86_64 (science_ScientificLinux) 
     Requires: python < 2.5 
     Installed: python-2.6.6-29.el6_2.2.x86_64 (@slf-security) 
      python = 2.6.6-29.el6_2.2 
     Available: python-2.6.6-29.el6.i686 (slf) 
      python = 2.6.6-29.el6 
Error: Package: python-scipy-0.6.0-6.3.x86_64 (science_ScientificLinux) 
     Requires: python < 2.5 
     Installed: python-2.6.6-29.el6_2.2.x86_64 (@slf-security) 
      python = 2.6.6-29.el6_2.2 
     Available: python-2.6.6-29.el6.i686 (slf) 
      python = 2.6.6-29.el6 

你可以尝试使用--skip-破来解决这个问题 你可以尝试运行:RPM -Va --nofiles --nodigest

任何想法?谢谢!

+1

没有yum的经验,但你可以尝试使用'pip'安装包来代替 – YXD 2013-02-28 15:49:31

我最终使用了非常有用的enthought。如果你是大学的附属机构,它也是完全免费的。