NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.43k stars 157 forks source link

No python sample given or file '' not found. Exiting. #115

Closed rohitdhote111 closed 1 year ago

rohitdhote111 commented 1 year ago

I am getting below error while creating docker container from provided docker image On linux 20 ubuntu, cuda driver 12.1

0 3.644 Reading package lists... 0 4.650 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC 0 4.650 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is no longer signed.

Dockerfile:18

17 |
18 | >>> RUN apt-get update && apt-get install -y --no-install-recommends \ 19 | >>> pkg-config \ 20 | >>> libglvnd0 \ 21 | >>> libgl1 \ 22 | >>> libglx0 \ 23 | >>> libegl1 \ 24 | >>> libgles2 \ 25 | >>> libglvnd-dev \ 26 | >>> libgl1-mesa-dev \ 27 | >>> libegl1-mesa-dev \ 28 | >>> libgles2-mesa-dev \ 29 | >>> cmake \ 30 | >>> curl 31 |

ERROR: failed to solve: process "/bin/bash -c apt-get update && apt-get install -y --no-install-recommends pkg-config libglvnd0 libgl1 libglx0 libegl1 libgles2 libglvnd-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev cmake curl" did not complete successfully: exit code: 100

No python sample given or file '' not found. Exiting.

jannehellsten commented 1 year ago

Fixed by upgrading the Docker base image to a newer version.

Siziff commented 1 year ago

Fixed by upgrading the Docker base image to a newer version.

which new version of docker is suitable for this?

jannehellsten commented 1 year ago

I was talking about the nvidia pytorch image version which changed in this commit: https://github.com/NVlabs/nvdiffrast/commit/335cfa6b33d785730a04283994214bed57884e87

The change mentions nvcr.io/nvidia/pytorch:23.03-py3 but newer versions probably work too.