Install opencv-python (which is the official pre-built OpenCV package for Python) by issuing the following command:

pip install opencv-python
Answer from Eiconic on Stack Overflow
🌐
PyPI
pypi.org › project › opencv-python
opencv-python · PyPI
Donate to OpenCV on Github to show your support. ... Pre-built CPU-only OpenCV packages for Python. Check the manual build section if you wish to compile the bindings from source to enable additional modules such as CUDA. If you have previous/other manually installed (= not installed via pip) version of OpenCV installed (e.g.
      » pip install opencv-python
    
Published   Feb 05, 2026
Version   4.13.0.92
Discussions

python - How do I install opencv using pip? - Stack Overflow
I need to install cv2 for a script that has been written for me. I tried pip install cv2 and pip install open_cv and got the same problem - a warning message from dist.py and complains about zlib ... More on stackoverflow.com
🌐 stackoverflow.com
pip install build issue
Expected behaviour I expected OpenCV's python API to install. I have used the same proceedure in numerous conda environments & have never had a problem like this. In fact it worked just fin... More on github.com
🌐 github.com
3
March 30, 2023
Why Building wheel for opencv-python when using "pip install opencv-python"
System Information OS: MacOS opencv: Any version Detailed description Hello, Why does Building wheel for opencv-python work when I use "pip install opencv-python"? Now whether I install t... More on github.com
🌐 github.com
0
June 22, 2024
"pip install opencv-python" fails to find opencv-python
Expected behaviour "pip install opencv-python" should install opencv-python, as it has on my Windows machine. Actual behaviour I am sshing into a CentOS machine and "pip install open... More on github.com
🌐 github.com
14
June 20, 2018
🌐
GitHub
github.com › opencv › opencv-python › releases
Releases · opencv/opencv-python
Complete OpenCV 4.11.0 changelog: https://github.com/opencv/opencv/wiki/OpenCV-Change-Logs#version4110 · Python: Added Python 3.13 support · Fixed build with Python 3.12 · Fixed confg path for the case when Python Limited API is disabled · Fixed build with system wide CMake, if CMake is not available with pip ·
Author   opencv
🌐
OpenCV
docs.opencv.org › 4.x › d5 › de5 › tutorial_py_setup_in_windows.html
OpenCV: Install OpenCV-Python in Windows
Matplotlib (pip install matplotlib) ... After installation, open Python IDLE. Enter import numpy and make sure Numpy is working fine. Download latest OpenCV release from GitHub ......
🌐
GitHub
gist.github.com › innat › 4af8e9a3accfdcf2511ee4ced26a1d77
Installing OpenCV3 for Python3x · GitHub
: In my case, I've used opencv_python-3.3.0-cp36-cp36m-win_amd64.whl. Notice, both files are for Python 3.6. (showed cp36..) Now go to the folder where you downloaded these files and run the following : pip install numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl pip install opencv_python-3.3.0-cp36-cp36m-win_amd64.whl
🌐
Breakthrough
breakthrough.github.io › Installing-OpenCV
OpenCV 3.0 Python Guide
pip install numpy-1.9.2+mkl-cp27-none-win_amd64.whl pip install scipy-0.15.1-cp27-none-win_amd64.whl · After installing, you should be able to run import numpy and import scipy from a Python interpreter to verify that the modules were installed correctly. You can check what versions of NumPy and SciPy are installed from numpy.__version__ and scipy.__version__, respectively. Lastly, we need to copy the OpenCV module into the local Python packages.
Find elsewhere
🌐
GitHub
gist.github.com › demid5111 › 6faa590e4fc5813550dd95cc1c538893
Instructions for installing opencv on Windows 10 · GitHub
go to official website to learn details: https://pypi.org/project/opencv-python/ choose the most complete package and run: py -m pip install opencv-contrib-python · check installation by entering the Python REPL: py · import tha library: import ...
🌐
The Raspberry Pi Guide
raspberrypi-guide.github.io › programming › install-opencv
Installing OpenCV | The Raspberry Pi Guide
Note that if you still have python2.7 on your system and you are not working with a virtual environment with python3, you will need to type in pip3 rather than pip. The standard command to install opencv is pip install opencv-contrib-python but don’t immediately run this (!) as it will try ...
🌐
GitHub
github.com › opencv › opencv-python › issues › 825
pip install build issue · Issue #825 · opencv/opencv-python
March 30, 2023 - pip install opencv-contrib-python pip install opencv-contrib-python --user pip install opencv-python pip install opencv-python --user
Author   DrBwts
🌐
GitHub
github.com › topics › opencv-contrib-python
opencv-contrib-python · GitHub Topics · GitHub
opencv tracking games ai python3 pip movements opencv-python movement-detection body-movements opencv-contrib-python pynput subway-surfers temple-run
🌐
GitHub
github.com › opencv › opencv-python › issues › 1009
Why Building wheel for opencv-python when using "pip install opencv-python" · Issue #1009 · opencv/opencv-python
June 22, 2024 - System Information OS: MacOS opencv: Any version Detailed description Hello, Why does Building wheel for opencv-python work when I use "pip install opencv-python"? Now whether I install the new environment using anaconda or install it ag...
Author   freedom-cui
🌐
GitHub
github.com › opencv › opencv-python › issues › 102
"pip install opencv-python" fails to find opencv-python · Issue #102 · opencv/opencv-python
June 20, 2018 - Expected behaviour "pip install opencv-python" should install opencv-python, as it has on my Windows machine. Actual behaviour I am sshing into a CentOS machine and "pip install open...
Author   jopotochny
🌐
Reddit
reddit.com › r/termux › how to pip install opencv-python
r/termux on Reddit: How to pip install opencv-python
January 19, 2025 -

I need to install opencv-python as a dependency for other python library. When I try to : pip install opencv-python

It gives me an error: ` CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:49 (message): Android SDK: specify path to Android SDK via ANDROID_SDK_ROOT / ANDROID_HOME / ANDROID_SDK variables Call Stack (most recent call first): cmake/android/OpenCVDetectAndroidSDK.cmake:172 (ocv_detect_android_sdk) CMakeLists.txt:818 (include)

  Configuring incomplete, errors occurred!

`

Also I tried to install this package: pkg install opencv Package installs but it does nothing, so when i try to pip install original library that I wanted, it still trying to build wheels for opencv

Also I have it's pointless repo installed

🌐
GitHub
github.com › Breakthrough › Installing-OpenCV › blob › master › docs › index.md
Installing-OpenCV/docs/index.md at master · Breakthrough/Installing-OpenCV
pip install numpy-1.9.2+mkl-cp27-none-win_amd64.whl pip install scipy-0.15.1-cp27-none-win_amd64.whl · After installing, you should be able to run import numpy and import scipy from a Python interpreter to verify that the modules were installed correctly. You can check what versions of NumPy and SciPy are installed from numpy.__version__ and scipy.__version__, respectively. Lastly, we need to copy the OpenCV module into the local Python packages.
Author   Breakthrough
🌐
GitHub
github.com › opencv › opencv-python › issues › 371
problem with installation with the newest version 4.3.0.38 and python 3.6.8 · Issue #371 · opencv/opencv-python
August 10, 2020 - $ pip3 install --user opencv-python==4.2.0.34 Collecting opencv-python==4.2.0.34 Downloading https://files.pythonhosted.org/packages/72/c2/e9cf54ae5b1102020ef895866a67cb2e1aef72f16dd1fde5b5fb1495ad9c/opencv_python-4.2.0.34-cp36-cp36m-manylinux1_x86_64.whl (28.2MB) 100% |███████...
Author   mkrajnak
🌐
GitHub
github.com › opencv
OpenCV · GitHub
Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
🌐
GitHub
github.com › opencv › opencv › tree › master › samples › python
opencv/samples/python at master · opencv/opencv
opencv_version.py · opencv_version.py · opt_flow.py · opt_flow.py · peopledetect.py · peopledetect.py · plane_ar.py · plane_ar.py · plane_tracker.py · plane_tracker.py · qrcode.py · qrcode.py · squares.py · squares.py · stereo_match.py · stereo_match.py ·
Author   opencv
🌐
OpenCV
docs.opencv.org › 4.x › d2 › de6 › tutorial_py_setup_in_ubuntu.html
OpenCV: Install OpenCV-Python in Ubuntu
To download the latest source from OpenCV's GitHub Repository. (If you want to contribute to OpenCV choose this.
🌐
PyPI
pypi.org › project › opencv-contrib-python
opencv-contrib-python · PyPI
Donate to OpenCV on Github to show your support. ... Pre-built CPU-only OpenCV packages for Python. Check the manual build section if you wish to compile the bindings from source to enable additional modules such as CUDA. If you have previous/other manually installed (= not installed via pip) version of OpenCV installed (e.g.
      » pip install opencv-contrib-python
    
Published   Feb 05, 2026
Version   4.13.0.92