问题描述
我正在为本学期的数据分析课程安装numpy和scipy.我正在尝试从sourceforge.net上的软件包安装它,但是当我按照向导操作时,我无法选择HD .有一则消息说numpy.1.5.1需要系统Python 2.6.我知道当输入$ python
2.6.1版本时就已经存在了.
I"m trying to install numpy and scipy for a data analysis class I have this semester. I'm trying to install it from the package on sourceforge.net, but as I follow the wizard I can't select my HD. There is a message saying numpy.1.5.1 requires System Python 2.6. I know it is there as when I type $ python
version 2.6.1 comes up.
我在后台进行了一些监听,看起来python 2.6在usr/bin
下,而python3在usr/local/bin
中.我的终端机有点新,所以我不确定是否可以将文件扔到local/bin
中,或者甚至是问题所在.
I've done a bit of snooping under the hood and it looks like python 2.6 is under usr/bin
where as python3 is in usr/local/bin
. I'm a bit new with the terminal so I'm not sure if I can throw the files in the local/bin
, or if this is even the issue.
预先感谢
操作系统:OS X 10.6.6
Operating System: OS X 10.6.6
推荐答案
官方适用于OS X的适用于Python 2.6的Numpy 1.5.1安装程序似乎需要 python.org Python 2.6 ,而不是Apple提供的Python 2.6.
The official Numpy 1.5.1 installer for Python 2.6 for OS X appear to require the python.org Python 2.6, not the Apple-supplied Python 2.6.
这篇关于安装Numpy和Scipy-找不到系统python 2.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!