我正在尝试更新我的机器并遇到了问题。我按照此页面上的说明操作:http://www.scipy.org/Installing_SciPy/Linux。似乎较新的Numpy / Scipy版本需要旧版本的Python。我目前在Scientific Linux Fermi 6.2(64位)上运行Python 2.6.6。
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-broken来解决问题 您可以尝试运行:rpm -Va --nofiles --nodigest
有什么想法吗?谢谢!
答案 0 :(得分:-1)
我最终使用了非常有用的enthought。如果您隶属于大学,它也是完全免费的。