1

I tried using both my command prompt and terminal in Visual Studio code. I tried the following commands: pip3 install opencv-python pip3 install opencv-contrib-python

OpenCV successfully downloads, but does not install. However, both result in large error statements after the "installing build dependencies" step. I see Error Failed building wheel for numpy. Failed to build numpy Error: Could not build wheels for numpy, which is required to install pyproject.toml-based project

I would really appreciate help on resolving this issue. Please let me know if you want to see more of the error.

3
  • 2
    Numpy has not yet released a wheel for python 3.10. See stackoverflow.com/a/69465693/9177877 Commented Oct 14, 2021 at 20:53
  • Is this numpy required to install opencv? I'm not able to install opencv. Thank you. Commented Oct 15, 2021 at 0:45
  • 1
    yes, numpy is a dependency for opencv. Commented Oct 17, 2021 at 16:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.