I am trying to install openCV-python with command prompt and I am getting the error Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly.
After trying every solution I could find I decided to ask here. I have tried the following:
- Upgrading pip. Confirmed the update to 20.2.4
- Clearing old versions of python. Only 3.9.0 is installed
- I re-installed visual studio with the c++ tools since opencv needs them apparently
- I tried installing opencv-python using both pip and pip3 same error for each
- I tried installing cmake, wheels, numpy, and dklib all individually
- I tried to install an older version of opencv using
pip install opencv-python==4.3.0.38
Please help. I need this installed to start a new project working with ImageGrab