[Python] Building wheel for opencv-python keeps running for a very long time

Discussão em 'Python' iniciado por Stack, Junho 22, 2025.

  1. Stack

    Stack Membro Participativo

    Building wheel for opencv-python keeps running for a very long time, while building the docker image. What can be done to make this run faster?

    RUN pip install opencv-python

    Collecting opencv-python
    Downloading opencv-python-4.6.0.66.tar.gz (90.3 MB)


    ...

    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
    Building wheels for collected packages: opencv-python, numpy
    Building wheel for opencv-python (pyproject.toml): started
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...
    Building wheel for opencv-python (pyproject.toml): still running...

    Continue reading...

Compartilhe esta Página