Skip to content

Unable to install pandas #4711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
devavrat opened this issue Aug 30, 2013 · 2 comments
Closed

Unable to install pandas #4711

devavrat opened this issue Aug 30, 2013 · 2 comments

Comments

@devavrat
Copy link

I have followed earlier posts for installing pandas. I have been having trouble installing it. Below are some details.

Mac Lion 10.7.5
Installed Cython (using pip install, which utilized llvm-gcc-4.2, for example)

Trying to install pandas using pip install from distribution or from git fails giving error:

pandas/index.c: In function ‘__pyx_f_8datetime__dts_to_pydatetime’:

pandas/index.c:10644: warning: implicit conversion shortens 64-bit value into a 32-bit value

lipo: can't open input file: /var/tmp//ccJ7Amtv.out (No such file or directory)

error: command 'llvm-gcc-4.2' failed with exit status 1


Cleaning up...

Downloading source and installing by running python setup.py install gives error

File "setup.py", line 91, in build_extensions
numpy_incl = pkg_resources.resource_filename('numpy', 'core/include')

Any help ?

@katychuang
Copy link

It looks like you need to install numpy manually before installing pandas see #3074 and this PR for details #2740

@devavrat
Copy link
Author

Thanks, Katy. This is what worked for me --

Step 1. Execution of the following two commands to set the distribution right

curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py

Step 2. Cloning git source, running following two commands from the pandas/ direction 👍

python setup.py install
python setup.py build_ext --inplace

Hope this will be of help to someone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants