SoFunction
Updated on 2024-11-12

Win10 opencv-python specific version manual installation and pip automatic installation tutorials

1. version-specific python-opencv installation

exist/~gohlke/pythonlibs/#opencv Download the whl file corresponding to the python version and windows system opencv, for example, my system is win10+64bit+python3.5, so downloaded opencv_python-3.4.2-cp35-cp35m-win_amd64.whl

After the download is complete, cd to this whl file directory in cmd and use pip to execute the installation:

pip install opencv_python-3.4.2-cp35-cp35m-win_amd64.whl

If the following error message appears [Access Denied]:

That's not enough permissions, just add the --user parameter to use administrator privileges:

pip install --user opencv_python-3.4.2-cp35-cp35m-win_amd64.whl

So the installation was successful!

2. pip automatically installs the latest version of opencv-python.

Direct cmd run

pip install opencv-python

This way pip will automatically install the latest version of opencv-python.

summarize

to this article on win10 opencv-python specific version of the manual installation and pip automatic installation of the article is introduced to this, more related opencv-python specific version of the installation content please search for my previous articles or continue to browse the following related articles I hope that you will support me more in the future!