Python 3.6.3 - Anaconda - Opencv 3

解决配置冲突问题

UnsatisfiableError: The following specifications were found to be in conflict:

- opencv3 -> python 2.7*

- python 3.6*

Use "conda info " to see the dependencies for each package.

首先切换到 Python 3 环境

$ source activate enname(en_python3)

Fetch

$ conda install -c conda-forge opencv

OK

(en_python3) $ python

Python 3.6.3 |Anaconda, Inc.| (default, Oct6 2017, 12:04:38)

[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

>>>

$ conda list 

opencv 3.3.0 py36_blas_openblas_200[blas_openblas]conda-forge

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容