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
Videos
03:31
How to Install OpenCV in Anaconda on Windows 10 & 11 | Step-by-Step ...
07:44
How to Install OpenCV in a Python Conda Environment - YouTube
Install Opencv in Anaconda Prompt | Install CV2 Anaconda | Anaconda ...
25:43
OpenCV Tutorial - 1: Installing Anaconda, OpenCV. Read, show, and ...
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
$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 ..
Donaldssh
donaldssh.github.io › blog › install-opencv-source-conda
🦕 Donald Shenaj | Install OpenCV 4 from source inside a conda environment
$ python Python 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> cv2.xfeatures2d.SURF_create() <xfeatures2d_SURF 0x7fdfbcdf30f0>
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
Top answer 1 of 4
11
Just open your command prompt with run as administrator. And try,
conda install -c conda-forge opencv
2 of 4
1
I was getting this error when using the command conda install -c menpo opencv
Specifications:
- opencv -> python[version='2.7.*|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0'] Your python: python=3.8 .So,by using pip it got solved.
pip install opencv-contrib-python
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%