You can install it using binstar:
conda install -c menpo opencv
Answer from jonnycowboy on Stack OverflowAnaconda.org
anaconda.org › conda-forge › opencv
opencv - conda-forge | Anaconda.org
Install opencv with Anaconda.org. Computer vision and machine learning software library.
Cv2 package doesn't work
I am trying to use the cv2 package on my jupyter notebook that is running in a unique conda environment (I named it MNIST). I have tried the following installs but they don’t work: pip install numpy opencv-python conda install -c conda-forge opencv conda install -c menpo opencv More on discourse.jupyter.org
Cannot import cv2 after conda install
Can't import module cv2 after installing latest opencv package from condaforge (4.1.0). OS: Windows 7 Ultimate x64 $ conda install -c conda-forge opencv Collecting package metadata (current_rep... More on github.com
How to import cv2 into anaconda (spyder), Python 3.6 ?
I'm using python 3.6 on spyder 3.3 (Anaconda) and I use lib cv2 but it doesn't work. It gives me " DLL load failed: The specified module could not be found " When I did search about this problem I... More on researchgate.net
Videos
03:31
How to Install OpenCV in Anaconda on Windows 10 & 11 | Step-by-Step ...
25:43
OpenCV Tutorial - 1: Installing Anaconda, OpenCV. Read, show, and ...
07:44
How to Install OpenCV in a Python Conda Environment - YouTube
Install Opencv in Anaconda Prompt | Install CV2 Anaconda | Anaconda ...
01:52
How to install OpenCV in Anaconda - YouTube
15:13
How To Install OpenCV On Windows? | OpenCV Python Install | Anaconda ...
PyPI
pypi.org › project › opencv-python
opencv-python · PyPI
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. cv2 module in the ...
» pip install opencv-python
Medium
medium.com › @whyaitchyou › install-opencv-2-4-13-on-conda-virtual-env-cffdbde27bf4
Install OpenCV 2.4.13 on Conda Virtual Env | by Yang Hu | Medium
January 15, 2018 - Now you shall be able to import cv2 within (opencv2) virtual env without issue. (opencv2) $ python Python 2.7.13 |Anaconda, Inc.| (default, Sep 30 2017, 13:16:00) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin Type "help", "copyright", "credits" or "license" for more information.>> import cv2 >> cv2.__version__ '2.4.13.5'
Delft Stack
delftstack.com › home › howto › python › conda install cv2
How to Install OpenCV in Python Conda | Delft Stack
February 2, 2024 - Understanding the process of installing OpenCV in Python using conda is essential for any aspiring data scientist, computer vision engineer, or developer working with image-related tasks. By leveraging Conda’s package management capabilities, we can ensure a hassle-free installation process, avoid version conflicts, and effortlessly set up the necessary dependencies required for OpenCV to function optimally. This tutorial will discuss different methods to install the cv2 module in Python for Anaconda users.
GeeksforGeeks
geeksforgeeks.org › set-opencv-anaconda-environment
Set up Opencv with anaconda environment - GeeksforGeeks
January 4, 2023 - conda install -c menpo opencv · Step 3:- Now simply import OpenCV in your python program in which you want to use image processing functions. Examples: Some basic functions of the OpenCV library (These functions are performed on Windows flavor of Anaconda but it will work on linux flavor too) img = cv2.imread('LOCATION OF THE IMAGE') The above function imread stores the image at the given location to the variable img.
Portland State University
web.cecs.pdx.edu › ~fliu › courses › cs410 › python-opencv.html
How to Install OpenCV-Python
Linux: 1. Install anaconda: wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh bash Anaconda3-2018.12-Linux-x86_64.sh -b -p $HOME/anaconda export PATH="$HOME/anaconda/bin:$PATH" conda update --all 2. Install necessary libraries: pip install opencv-python==3.4.2.17 pip install opencv-contrib-python==3.4.2.17 Windows: 1.
CodeRivers
coderivers.org › blog › install-cv2-python-conda
Installing `cv2` (OpenCV) in Python with Conda - CodeRivers
February 22, 2026 - Here, we are specifying Python version 3.8. You can change the version according to your requirements. ... On macOS/Linux: bash . activate opencv_env ... Conda-forge is a community-driven collection of recipes for Conda packages. It provides pre-built packages for many popular libraries, including OpenCV. Run the following command to install cv2 in the activated environment: bash conda install -c conda-forge opencv
Anaconda.org
anaconda.org › anaconda › opencv
opencv - anaconda | Anaconda.org
February 11, 2026 - $conda install anaconda::opencv · Monthly · Downloads Updates · Version · 4.13.0 · 4.12.0 · 4.10.0 · 4.6.0 · 4.5.5 · 5 / 8 versions selected · Downloads (Last 6 months): 0 · Computer vision and machine learning software library. Summary · Computer vision and machine learning software ...
Danielhavir
danielhavir.com › notes › install-opencv
Install OpenCV with CUDA for Conda
(cv) $ cd ~/opencv/opencv-3.4.5 (cv) $ mkdir build (cv) $ cd build (cv) $ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-3.4.5/modules -D PYTHON_EXECUTABLE=$python_exec -D PYTHON_DEFAULT_EXECUTABLE=$default_exec -D PYTHON_INCLUDE_DIRS=$include_dir -D PYTHON_LIBRARY=$library -D BUILD_EXAMPLES=ON ..
GitHub
github.com › conda-forge › opencv-feedstock › issues › 170
Cannot import cv2 after conda install · Issue #170 · conda-forge/opencv-feedstock
July 17, 2019 - Can't import module cv2 after installing latest opencv package from condaforge (4.1.0). OS: Windows 7 Ultimate x64 $ conda install -c conda-forge opencv Collecting package metadata (current_rep...
Author aspen1135
Konfuzio
konfuzio.com › start › blog › python › opencv - cv2 guide for python developers
CV2: OpenCV Guide for Python Developers
December 17, 2025 - Before starting, cv2 must be installed. There are two main ways to do this: pip install opencv-python · conda install -c conda-forge opencv · Once the module is installed, we can start using the various functions offered by the library. cv2.imread is a function to read an image from a file.
GitHub
github.com › conda-forge › opencv-feedstock
GitHub - conda-forge/opencv-feedstock: A conda-smithy repository for opencv. · GitHub
A conda-smithy repository for opencv. Contribute to conda-forge/opencv-feedstock development by creating an account on GitHub.
Starred by 70 users
Forked by 67 users
Languages Shell 45.0% | Batchfile 45.0% | Python 6.6% | CMake 2.8% | C++ 0.6%
Top answer 1 of 16
5
opencv successfully installed via conda in windows, however no module named cv2 found...y? anyone?
2 of 16
0
Dear Shaimaa Muhammad, the best way to use cv2 library is to download a binary file ready to work in Windows for your python version.
Binary files for Windows are available in this website:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
You should go to the OpenCV part and download the binary by your python version
and your OS architecture.
Let's suppose you have:
Python version 3.6
Windows x64
Then, you should download (either a or b):
a) opencv_python‑3.4.2‑cp36‑cp36m‑win_amd64.whl
b)
opencv_python‑3.4.2+contrib‑cp36‑cp36m‑win_amd64.whl
Then in a command prompt console or you should type (a or b):
a) pip install file_path/opencv_python‑3.4.2‑cp36‑cp36m‑win_amd64.whl
b) pip install file_path/opencv_python‑3.4.2+contrib‑cp36‑cp36m‑win_amd64.whl
where file_path is the path of the folder where the *.whl file was downloaded.
OBS: If you have an anaconda prompt, use it instead the common Windows prompt.