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

problem with installing a few things using the docker env #231

Open
riririririi opened this issue Jan 24, 2023 · 5 comments
Open

problem with installing a few things using the docker env #231

riririririi opened this issue Jan 24, 2023 · 5 comments

Comments

@riririririi
Copy link

Describe the bug
when i run docker build --build-arg USER_ID=$UID -t yolact_edge_image . it returns these errors:
E: Unable to locate package libnvinfer7
E: Unable to locate package libnvonnxparsers7
E: Unable to locate package libnvparsers7
E: Unable to locate package libnvinfer-plugin7
E: Version '7.2.3-1+cuda11.0' for 'libnvinfer-dev' was not found
E: Version '7.2.3-1+cuda11.0' for 'libnvonnxparsers-dev' was not found
E: Version '7.2.3-1+cuda11.0' for 'libnvparsers-dev' was not found
E: Version '7.2.3-1+cuda11.0' for 'libnvinfer-plugin-dev' was not found
E: Version '7.2.3-1+cuda11.0' for 'python3-libnvinfer' was not found
The command '/bin/sh -c apt-get update && apt-get install -y libnvinfer7=${version} libnvonnxparsers7=${version} libnvparsers7=${version} libnvinfer-plugin7=${version} libnvinfer-dev=${version} libnvonnxparsers-dev=${version} libnvparsers-dev=${version} libnvinfer-plugin-dev=${version} python3-libnvinfer=${version} && apt-mark hold libnvinfer7 libnvonnxparsers7 libnvparsers7 libnvinfer-plugin7 libnvinfer-dev libnvonnxparsers-dev libnvparsers-dev libnvinfer-plugin-dev python3-libnvinfer' returned a non-zero code: 100

To Reproduce
running docker build --build-arg USER_ID=$UID -t yolact_edge_image . in the yolact_edge/docker folder

Expected behavior
the docker image should get assembled

Environment:

  • OS: [Ubuntu 22.04]
  • GPU: [RTX 3060 Ti]
  • CUDA Version [e.g. 12]
@HwanWoongLee
Copy link

i have the same problem...
Did you solve the problem?

@jimmyjommy
Copy link

I got around it by changing all of the libv versions from 7 to 8, and changing the ARG version on line 14 to 8.0.0-1

@AvinoamBr
Copy link

I've encountered same issue and solved by setting:
ARG version="8.5.3-1+cuda11.8"

@hiepdtx
Copy link

hiepdtx commented Apr 12, 2024

LINE 14: change ARG version="7.2.3-1+cuda11.0" to ARG version="8.0.0-1+cuda11.0"
LINE 15: change all of version "7" to "8"
You can refer the version of "libnvinfer8", "libnvonnxparsers8" corresponding to CUDA and ubuntu version at https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/
(Should use consistent CUDA version for Pytorch and TensorRT, for example)

1 similar comment
@hiepbk
Copy link

hiepbk commented Apr 12, 2024

LINE 14: change ARG version="7.2.3-1+cuda11.0" to ARG version="8.0.0-1+cuda11.0"
LINE 15: change all of version "7" to "8"
You can refer the version of "libnvinfer8", "libnvonnxparsers8" corresponding to CUDA and ubuntu version at https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/
(Should use consistent CUDA version for Pytorch and TensorRT, for example)

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

6 participants