美文网首页
Python 3.6.3 - Anaconda - Opencv

Python 3.6.3 - Anaconda - Opencv

作者: 我的名字好长好长灬 | 来源:发表于2017-10-24 15:27 被阅读271次

解决配置冲突问题

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

相关文章

网友评论

      本文标题:Python 3.6.3 - Anaconda - Opencv

      本文链接:https://www.haomeiwen.com/subject/rkxxpxtx.html