0

私は MacBook Pro(10.6.5) を持っていて、pip を使って scipy をインストールしようとしています。私はPythonの世界に非常に慣れていないことに注意してください。ところで、私は次のコマンドを使用しました:

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)) InstallationError : /Users/hk3/build/scipy でコマンド python setup.py egg_info がエラー コード 1 で失敗しました

誰かが私が間違っていることを指摘してくれれば、本当に感謝しています! ありがとう

4

1 に答える 1

1

私は Mac 用の Enthought python ディストリビューションで大きな成功を収めました。10.7.4 にインストール

サブスクリプション バージョンについては、 http ://www.enthought.com/products/epd.php で説明しています。

無料版については、 http ://www.enthought.com/products/epd_free.php で説明しています。

于 2012-07-07T05:31:14.900 に答える