2012-08-13 119 views
0

我有我的Mac上的Python版本2.7.2。當我下載與NumPy/SciPy的/ matplotlib的sourceforge的版本爲Python 2.7,我通過5步安裝過程中採取的,這將導致一個錯誤:麻煩安裝NPO的numpy 10.5.8

"You cannot install numpy 1.6.2 on this volume. numpy requires python.org Python 2.7 to install." 

然而,當我檢查我的Python版本號通過鍵入終端「蟒蛇」,我得到:

Enthought Python Distribution -- www.enthought.com 
Version: 7.1-2 (32-bit) 
Python 2.7.2 |EPD 7.1-2 (32-bit)| (default, Jul 27 2011, 13:29:32) 

可能是錯誤怎麼回事?

回答

1

這聽起來像numpy的安裝程序只需要安裝Python的標準分發的頂部,而默認的解釋是Enthought分佈。簡單的修復,但:Enthought already has numpy/scipy/matplotlib,所以我不認爲你需要安裝它們。

+0

我已經找到了如何導入numpy的,但由於某些原因,許多numpy的命令(genfromtxt,numaray,馬等)不工作。不管怎麼說,還是要謝謝你。 – SVenkatesh 2012-08-13 17:33:31