2012-11-14 35 views
0

移植熊猫为Python我已经移植了一些东西的计算投资过程中,我得到了所有的其他的MacPorts,但麻烦在Mac

>"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,CLT for Xcode,但我必须缺少别的东西。感谢大家的帮助!

+1

它告诉你查看日志文件。你尝试过吗?它说什么?您可能需要使用MacPorts –

+0

打开支持服务单另一种选择是使用easy_install ...是否有理由选择0.7.3?这是否指熊猫的版本? (现在是0.9.0) –

+0

poorsod - 我不知道如何打开日志文件。请给我说明。 –

回答

2

我建议从免费的EPDFree开始(不包括熊猫,但可以easy_install'd从源)或Anaconda CE(其中包括熊猫)分布,如果你不能使用MacPorts设置。