[Python] It says Could not build wheels for onnx, opencv-python which use PEP 517 and cannot...

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I want to say I'm very new to all this. And I don't know much about coding. I was just following a tutorial and this was an AI project that I've been using for the last 4 years. My OS got fried so I have to reinstall everything again.

    I'm on Windows-NT. Cuda 10.2. I have python 3.10 but this program specifically requires 3.6

    So I went to install opencv for python 3.6 as it was required by the program. And it gave me this error:


    Successfully built moviepy Failed to build opencv-python ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly
    ​

    I think this is the version it is trying to install: Using cached opencv-python-4.11.0.86.tar.gz (95.2 MB)

    The whole thing initiates after I give this command:

    pip install insightface==0.2.1 onnxruntime moviepy


    How do I solve this problem?

    I did not try anything, since I don't know what to do.

    Continue reading...

Compartilhe esta Página