How do I install opencv with anaconda python3 , opencv picked up my python3 executables
-- Python 2:
-- Interpreter: /usr/bin/python2.7
conda: 4.7.10, python: 3.7.3, channel: default
Installing opencv
from the default
channel worked for me. I installed into a clean environment and had no conflicts.
conda install opencv
The following NEW packages will be INSTALLED:
blas pkgs/main/osx-64::blas-1.0-mkl
bzip2 pkgs/main/osx-64::bzip2-1.0.8-h1de35cc_0
cairo pkgs/main/osx-64::cairo-1.14.12-hc4e6be7_4
ffmpeg pkgs/main/osx-64::ffmpeg-4.0-h01ea3c9_0
fontconfig pkgs/main/osx-64::fontconfig-2.13.0-h5d5b041_1
freetype pkgs/main/osx-64::freetype-2.9.1-hb4e5f40_0
gettext pkgs/main/osx-64::gettext-0.19.8.1-h15daf44_3
glib pkgs/main/osx-64::glib-2.56.2-hd9629dc_0
graphite2 pkgs/main/osx-64::graphite2-1.3.13-h2098e52_0
harfbuzz pkgs/main/osx-64::harfbuzz-1.8.8-hb8d4a28_0
hdf5 pkgs/main/osx-64::hdf5-1.10.2-hfa1e0ec_1
icu pkgs/main/osx-64::icu-58.2-h4b95b61_1
intel-openmp pkgs/main/osx-64::intel-openmp-2019.4-233
jasper pkgs/main/osx-64::jasper-2.0.14-h636a363_1
jpeg pkgs/main/osx-64::jpeg-9b-he5867d9_2
libgfortran pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
libiconv pkgs/main/osx-64::libiconv-1.15-hdd342a3_7
libopencv pkgs/main/osx-64::libopencv-3.4.2-h7c891bd_1
libopus pkgs/main/osx-64::libopus-1.3-h1de35cc_0
libpng pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0
libtiff pkgs/main/osx-64::libtiff-4.0.10-hcb84e12_2
libvpx pkgs/main/osx-64::libvpx-1.7.0-h378b8a2_0
libxml2 pkgs/main/osx-64::libxml2-2.9.9-hf6e021a_1
mkl pkgs/main/osx-64::mkl-2019.4-233
mkl_fft pkgs/main/osx-64::mkl_fft-1.0.12-py37h5e564d8_0
mkl_random pkgs/main/osx-64::mkl_random-1.0.2-py37h27c97d8_0
numpy pkgs/main/osx-64::numpy-1.16.4-py37hacdab7b_0
numpy-base pkgs/main/osx-64::numpy-base-1.16.4-py37h6575580_0
opencv pkgs/main/osx-64::opencv-3.4.2-py37h6fd60c2_1
pcre pkgs/main/osx-64::pcre-8.43-h0a44026_0
pixman pkgs/main/osx-64::pixman-0.38.0-h1de35cc_0
py-opencv pkgs/main/osx-64::py-opencv-3.4.2-py37h7c891bd_1
zstd pkgs/main/osx-64::zstd-1.3.7-h5bba6e5_0
$python
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'3.4.2'
>>>