Skip to content
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

cannot install jaxlib on alpine linux #1792

Closed
dchatterjee172 opened this issue Dec 2, 2019 · 7 comments
Closed

cannot install jaxlib on alpine linux #1792

dchatterjee172 opened this issue Dec 2, 2019 · 7 comments
Labels
contributions welcome The JAX team has not prioritized work on this. Community contributions are welcome.

Comments

@dchatterjee172
Copy link

/life # pip install jaxlib
ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib
/life # pip search jaxlib
jaxlib (0.1.36)  - XLA library for JAX

Dockerfile

FROM python:3.7-alpine
RUN apk --no-cache add curl g++ redis py3-redis openblas-dev lapack   
@hawkinsp
Copy link
Collaborator

hawkinsp commented Dec 2, 2019

My guess is that you have an old version of pip. Try first running pip install --upgrade pip.

@dchatterjee172
Copy link
Author

/life # pip install --upgrade pip
Requirement already up-to-date: pip in /usr/local/lib/python3.7/site-packages (19.3.1)

@hawkinsp hawkinsp added the contributions welcome The JAX team has not prioritized work on this. Community contributions are welcome. label Dec 2, 2019
@hawkinsp
Copy link
Collaborator

hawkinsp commented Dec 2, 2019

Another guess: is this an x86 or x86_64 linux installation? We don't support x86, only x86_64.

Otherwise this issue is probably in the "contributions welcome" category. We don't have the engineering cycles to debug installation issues with every possible Linux distribution.

@dchatterjee172
Copy link
Author

dchatterjee172 commented Dec 2, 2019

This is x86_64

/life # cat /etc/apk/arch 
x86_64

Can you give me some directions for debugging?

@hawkinsp
Copy link
Collaborator

hawkinsp commented Dec 2, 2019

I'm unsure. This is a pip issue, not a JAX issue. The question is why pip doesn't think the available wheels for jaxlib are installable on your system.

@joaogui1
Copy link
Contributor

joaogui1 commented Feb 8, 2020

I think this issue can shed a light on the problem, and it seems alpine linux has problems with pip wheels in general

@hawkinsp
Copy link
Collaborator

I think @joaogui1 has answered this one: Alpine linux doesn't support pip wheels. So none of the distributions we provide are installable. This isn't a configuration we support ourselves. You can try building from source, if you like. Contributions are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome The JAX team has not prioritized work on this. Community contributions are welcome.
Projects
None yet
Development

No branches or pull requests

3 participants