【问题标题】:installing scipy on mac 10.6.5在 mac 10.6.5 上安装 scipy
【发布时间】:2012-07-05 03:06:48
【问题描述】:

我有一台 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: 命令 python setup.py egg_info failed with error code 1 in /Users/hk3/build/scipy

如果有人能指出我做错了什么,我将不胜感激! 谢谢

【问题讨论】:

标签: python scipy


【解决方案1】:

我在 Mac 的 Enthought python 发行版上取得了巨大的成功。安装在 10.7.4

这里描述了订阅版本: http://www.enthought.com/products/epd.php

这里描述了免费版本: http://www.enthought.com/products/epd_free.php

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-09-24
    • 1970-01-01
    • 2012-12-30
    • 2012-10-24
    • 1970-01-01
    • 2018-05-29
    • 2013-01-27
    相关资源
    最近更新 更多