2012-11-14 138 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設置。