76
64

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OpenCV(cv2)をcondaでインストール (python3.6)

Posted at

結論

conda install -c conda-forge opencv

環境

$python --version # Python 3.6.3 :: Anaconda custom (64-bit)

変遷

この記事を見て、以下のコマンドを試したがうまくいかない
https://qiita.com/matken11235/items/2a17dc7c460b8d606efc

$ conda install -c menpo opencv3
Solving environment: failed

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

githubのcondaのissue(https://github.com/conda/conda/issues/2448) に、
conda-forgeでインストールしたら上手くいくぜ!! という記事があったので、以下のコマンドを試したら上手く行った。
conda install -c conda-forge opencv

76
64
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
76
64

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?