John Tomczak
John Tomczak

Reputation: 1

Trouble Porting Pandas for Python on Mac

I have been porting a few things for a computational investing course, and I got all the other macports, but

>"sudo port install py27-pandas @0.7.3" 

is giving me a lot of trouble. This is the return I get:

>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

I do have Xcode, CLT for Xcode, but I must be missing something else. Thanks for the help everyone!

Upvotes: 0

Views: 353

Answers (1)

Wes McKinney
Wes McKinney

Reputation: 105621

I'd recommend starting with the free EPDFree (does not include pandas, but can be easy_install'd from source) or Anaconda CE (which includes pandas) distributions if you can't get set up with MacPorts.

Upvotes: 2

Related Questions