I want to install pandas on MAC OS X 10.7 with Python 2.7 with "sudo pip install pandas". Some of the output I'm getting:
Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pandas/index.c -o build/temp.macosx-10.7-intel-2.7/pandas/index.o
In file included from pandas/index.c:317:
pandas/src/numpy_helper.h: In function ‘infer_type’:
pandas/src/numpy_helper.h:32: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)
pandas/src/numpy_helper.h:32: error: (Each undeclared identifier is reported only once
pandas/src/numpy_helper.h:32: error: for each function it appears in.)
pandas/src/numpy_helper.h: In function ‘get_datetime64_value’:
pandas/src/numpy_helper.h:53: error: ‘PyDatetimeScalarObject’ undeclared (first use in this function)
pandas/src/numpy_helper.h:53: error: expected expression before ‘)’ token
pandas/src/numpy_helper.h: In function ‘is_datetime64_object’:
pandas/src/numpy_helper.h:84: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)
pandas/src/numpy_helper.h: In function ‘is_timedelta64_object’:
pandas/src/numpy_helper.h:89: error: ‘PyTimedeltaArrType_Type’ undeclared (first use in this function)
And I get this:
lipo: can't open input file: /var/tmp//ccaW8SVp.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1
All the dependencies (NumPy, pythondateutil, pytz) are working fine. I've also the latest version of the Command Line Tools as suggested here: Why am I getting the error: command 'llvm-gcc-4.2' failed with exit status 1 and here gcc-4.2 failed with exit status 1
I think my question is strongly related to this (not helping) post: Issues with installing pandas in python in MAC
And now I'm out of options and have really no idea what to do :-( Except asking for help... So thanks in advance!