0

我一直在为计算投资课程移植一些东西,而且我得到了所有其他的 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,但我必须缺少其他东西。感谢大家的帮助!

4

1 回答 1

2

如果您无法使用 MacPorts 进行设置,我建议您从免费的 EPDFree(不包括 pandas,但可以从源代码轻松安装)或 Anaconda CE(包括 pandas)发行版开始。

于 2012-11-21T04:37:55.217 回答