简体   繁体   中英

How can I install opencv3 for python3 with conda?

I tried to install opencv3 with conda on my mac. Somehow opencv seems to be installed for python2.7. Actually I removed that with

brew uninstall opencv

heres the error for

conda install -c menpo opencv3

Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - opencv3 -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

Since I only needed the python version of opencv

pip install opencv-python

worked fine. Thanks to @Max

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM