【发布时间】:2012-11-02 22:18:27
【问题描述】:
我一直在为计算投资课程移植一些东西,并且我得到了所有其他 macport,但是
>"sudo port install py27-pandas @0.7.3"
给我带来了很多麻烦。这是我得到的回报:
>John--MacBook-Pro:~ John$ sudo port install py27-pandas @0.7.3
Password:
---> Computing dependencies for py27-pandas
---> Dependencies to be installed: py27-scipy gcc45 swig-python bison gsed swig py27-tables hdf5-18 lzo2 py27-cython cython_select py27-numexpr py27-scientific netcdf
---> Building gcc45
Error: org.macports.build for port gcc45 returned: command execution failed
Error: Failed to install gcc45
Please see the log file for port gcc45 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc45/gcc45/main.log
Error: The following dependencies were not installed: py27-scipy gcc45 swig-python bison gsed swig py27-tables hdf5-18 lzo2 py27-cython cython_select py27-numexpr py27-scientific netcdf
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port py27-pandas failed
我确实有 Xcode,用于 Xcode 的 CLT,但我一定缺少其他东西。感谢大家的帮助!
【问题讨论】:
-
它告诉你查看日志文件。你试过吗?它说什么?您可能需要使用 MacPorts 开具支持票
-
另一种选择是使用easy_install...是否有理由选择0.7.3?这是指熊猫的版本吗? (现在是 0.9.0)
-
poorsod - 我不知道如何打开日志文件。请给我指示。
-
hayden - 据我所知,它指的是 python 2.7,但我会尝试使用“0.9.0”移植。
-
肯定py27指的是2.7,0.7.3是pandas版本,注意0.9.0 is in macports。说是怪怪的失败是来自gcc45...