It was very bumpy when I installed opencv-python today. At the beginning of the installation, I reported an error:
ModuleNotFoundError: No module named 'skbuild'
Then I did what this blogger did: add link description
The method is as follows:
Then I run the command again:
pip install opencv-python
As a result, the following error occurred:
Failed building wheel for opencv-python
Failed cleaning build dir for opencv-python
PermissionError: [WinError 32] Another program is using this file and the process cannot access it. : 'C:\WINDOWS\TEMP\pip-build-3o7oaqyb\opencv-python\_skbuild\win-amd64-3.6\cmake-b
uild\CMakeFiles\CMakeConfigureLog.yaml'
Then I updated pip with the following command according to the yellow reminder subtitle:
python -m pip install --upgrade pip
Then I run the command pip install opencv-python again and the installation is successful: