question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker building error

See original GitHub issue

When i started building docker image i get this error message, i think we have to change Docker file to solve this issue, i will look on the subject and update this issue.

Collecting typing_extensions
  Downloading typing_extensions-4.2.0-py3-none-any.whl (24 kB)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.3.10+cuda11.cudnn82 (from jax[cuda]) (from versions: 0.1.32, 0.1.40, 0.1.41, 0.1.42, 0.1.43, 0.1.44, 0.1.46, 0.1.50, 0.1.51, 0.1.52, 0.1.55, 0.1.56, 0.1.57, 0.1.58, 0.1.59, 0.1.60, 0.1.61, 0.1.62, 0.1.63, 0.1.64, 0.1.65, 0.1.66, 0.1.67, 0.1.68, 0.1.69, 0.1.70, 0.1.71, 0.1.72, 0.1.73, 0.1.74, 0.1.75, 0.1.76, 0.3.0, 0.3.2, 0.3.5, 0.3.7, 0.3.8, 0.3.10)
ERROR: No matching distribution found for jaxlib==0.3.10+cuda11.cudnn82 (from jax[cuda])
The command '/bin/sh -c pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html   && pip install -q   git+https://github.com/borisdayma/dalle-mini.git   git+https://github.com/patil-suraj/vqgan-jax.git' returned a non-zero code: 1

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
cdgamedevcommented, Jun 16, 2022

I got it to work by changing the docker file:

Replace this line:

RUN pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html \

With one of these two links below:

1: Running on CPU:

RUN pip install https://storage.googleapis.com/jax-releases/nocuda/jaxlib-0.3.10-cp38-none-manylinux2014_x86_64.whl \

2: Running on GPU:

RUN pip install --upgrade https://storage.googleapis.com/jax-releases/cuda11/jaxlib-0.3.10+cuda11.cudnn82-cp38-none-manylinux2014_x86_64.whl \

this removes its lookup for jax and instead gets the exact version needed for python3.8

Edit: Added CPU & GPU versions of the URL & specified what needed to be changed See #261 as there may be more updates.

0reactions
borisdaymacommented, Jul 23, 2022

Should now be fixed through #292

Read more comments on GitHub >

github_iconTop Results From Across the Web

ubuntu 14.04 - Docker build error - Stack Overflow
1 Answer 1 · Uncomment the following line in /etc/default/docker · DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" · Restart the Docker service sudo ...
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >
An error occurred while attempting to build Docker image #3884
I have been hitting the same issue since I upgraded to Windows 10 1903 (OS Build 18362.175) but have a much simpler Dockerfile....
Read more >
Solution build fails with docker compose error (in VS 15.3)
Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets(279,5): error : Value cannot be null. 1>C:\Program Files (x86)\Microsoft Visual ...
Read more >
SOLVED: Docker build “Could not resolve 'archive.ubuntu ...
I was configuring Apache server using an ubuntu:latest image and during the process, i encountered an unusual error where i couldn't apt-get anything...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found