Skip to content

Packaging: pip install pandas pulls in numpy 1.8.1, but isn't linked against that version #7486

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
Redoubts opened this issue Jun 17, 2014 · 9 comments

Comments

@Redoubts
Copy link

import pandas fails with ValueError: numpy.dtype has the wrong size, try recompiling, which I would guess is due to the above.

@jreback
Copy link
Contributor

jreback commented Jun 17, 2014

@Redoubts
Copy link
Author

Sure, but pip shouldn't pull in a broken configuration.

@jreback
Copy link
Contributor

jreback commented Jun 17, 2014

see here: https://groups.google.com/forum/#!topic/pydata/wHM435aVjUw

pip tries to upgrade things

pip install pandas==0.14.0

@jreback jreback closed this as completed Jun 17, 2014
@Redoubts
Copy link
Author

I think you meant to include --no-use-wheel, since the command you listed still pulls a non-functional binary from the users point of view.

@jreback
Copy link
Contributor

jreback commented Jun 17, 2014

well u didn't include platform / os / numpy info

and u should just upgrade numpy and it will work

@Redoubts
Copy link
Author

Using OS X 10.9.

The essence of the problem is the precompiled osx wheel doesn't work with 1.8.1, but unfortunately pip pulls 1.8.1 rather than leaving it alone (because pip is a naive tool).

I guess I'm asking for a refresh of the OS X wheels.

@jreback
Copy link
Contributor

jreback commented Jun 17, 2014

ahh that would explain it

they should be very specific to a version

what is numpy version?

@Redoubts
Copy link
Author

OS X 10.9 comes with numpy 1.6.2 stock,
but if you just do pip install -U pandas, pip will compile & upgrade to 1.8.1 for you. I think your stack overflow link promises backwards compatibility, so you may as well compile for the newest version. (Unless you know better)

@jreback
Copy link
Contributor

jreback commented Jun 17, 2014

not that direction
you can put a higher numpy version not lower
u should be using 1.8 anyhow
1.6.2 is really old
or install an older pandas

it will technically work but u cannot use the wheels for osx they are built for 1.8

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