NVIDIA / NVIDIA/TensorRT

ERROR: No matching distribution found for numpy>=2.0

Open
#4,025 6 comments 0 reactions 1 assignee View on GitHub

@kevinch-nv is already working on this.

Since Feb 11, 2025.

Module:OSS Build triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

In TensorRT 8.6 branch, when I run
./docker/build.sh --file docker/ubuntu-20.04.Dockerfile --tag tensorrt-ubuntu20.04-cuda12.1
it fails on line
RUN pip3 install -r /tmp/requirements.txt
with error:
ERROR: No matching distribution found for numpy>=2.0

This could be avoided for example, if you would specify concrete versions of all python packages, it's never a good idea to specify just

Pillow
numpy
pycuda
pytest

in requirements.txt

Can you please specify what versions were used in your build?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.