Error message:
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
Created a new python virtual environment on the notebook today, need to install opencv-python
The command is as follows:
pip install opencv-python==4.3.0.38
I thought it would be fine and the installation would be successful, but unexpectedly, an error was reported!
The most violent solution, try another version. . . .
pip install opencv-python==4.5.5.62
The installation was successful, no error was reported. . .
The reason for the above error should be that there is no Visual Studio on my computer.
opencv-python==4.3.0.38和opencv-python==4.5.5.62两个包大小相差很大,里面的依赖应该不一样。