2012-07-04 132 views
0

我有一臺MacBook Pro(10.6.5)並嘗試使用pip安裝scipy。請注意,我對Python世界非常陌生。順便說一句,我用下面的命令:在mac上安裝scipy 10.6.5

pip install --user scipy 

,我已經得到了以下錯誤:

Command python setup.py egg_info failed with error code 1 in /Users/hk3/build/scipy 

    Exception information: 
    Traceback (most recent call last): 
    File "/Users/hk3/Library/Python/2.6/site-packages/pip-1.1-py2.6.egg              /pip/basecommand.py", line 104, in main 
    status = self.run(options, args) 
    File "/Users/hk3/Library/Python/2.6/site-packages/pip-1.1-py2.6.egg/pip/commands /install.py", line 245, in run 
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) 
    File "/Users/hk3/Library/Python/2.6/site-packages/pip-1.1-py2.6.egg/pip/req.py", line 1009, in prepare_files 
    req_to_install.run_egg_info() 

文件「/Users/hk3/Library/Python/2.6/site-packages/pip- 1.1-py2.6.egg/pip/req.py「,第225行,在run_egg_info中 command_desc ='python setup.py egg_info') 文件」/Users/hk3/Library/Python/2.6/site-packages/pip -1.1-py2.6.egg/pip/init .py「,第256行,在call_subprocess中 %(command_desc,proc.returncode,cwd)) 安裝錯誤:命令python setup.py egg_info失敗,錯誤代碼1在/ Users/hk3/build/scipy中

如果有人能指出我做錯了什麼,我將非常感激! 謝謝

+0

參見:http://stackoverflow.com/questions/12092306/how-安裝scipy -pip-on-mac-mountain-lion-os-x-v10-8/14315132#14315132。我建議使用samueljohn的自制「水龍頭」安裝scipy。 –

回答