-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Failure Installing Pandas with Pip on Docker with Python 2 #21317
Comments
I'm assuming your docker image is based of alpine. It's not compatible with manylinux, pypa/manylinux#37, so you don't get the wheel, so you have to compile it. I think you'll either need to use an image that has glibc, or include the right compilers to build pandas. LMK if that's not the case. |
Although that actual error message is different than what I would expect if it's a glibc thing... Maybe I'm wrong. Do you have a small dockerfile that reproduces the problem? |
I wonder if we should copy the pypa/sampleproject#30 (comment) In any case a dockerfile to reproduce the issue would be helpful |
Ideally I would finish up #19535 and this would be moot :) |
Thanks for the help! It's actually based off of Centos 7. I'm an intern at a company which uses a custom python environment that's from the build rather than the Dockerfile. I tried to reproduce the issue by creating a new container with a basic Dockerfile, and the issue goes away. It must be some system-level package interaction issue. Will update if I figure out what's causing it! |
I'm unable to run
pip install pandas
in docker. It states that itFailed building wheel for pandas
and then outputs:I am using pip 10.0.1, Python 2.7.6, and the most current version of Pandas, 0.23.0. My setuptools is also up-to-date (version 39.2.0).
Entire output is:
The text was updated successfully, but these errors were encountered: