我正在尝试在我的Mac虚拟环境中安装scipy。
在虚拟环境中使用的Python:
(Django)miki725mac:Django miki725$ python
Python 2.7.2 (default, Aug 3 2011, 00:58:00)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
我尝试通过以下方式安装scipy,但失败了:
$ svn co http://svn.scipy.org/svn/scipy/trunk scipy
$ python setup.py build
$ python setup.py install
然后我尝试了:
$ pip install scipy
根据建议,我也尝试了以下方法:
$ pip install -e git://github.com/scipy/scipy@effa6f68f8ada57b7986#egg=scipy-dev
日志
这里是所有安装步骤的完整日志: (它们对于stackoverflow来说太长了)
python setup.py build
http://www.diglo.com/download/3dfc7a1af18617d7ee49faa8bea3464703ea
python setup.py install
http://www.diglo.com/download/ab13985c76ad709b25464fa1254daa4b03ea
pip install scipy
http://www.diglo.com/download/9e808fe5b57b6b01a8265d4b01958da703ea (pastebin: http://paste.pocoo.org/show/454004/)
pip install -e git://github.com/scipy/scipy@effa6f68f8ada57b7986#egg=scipy-dev
http://www.diglo.com/download/085f7bd08e7cb86823718b94641ecacd03ea
请帮忙。我是新手,提前感谢。