LoginSignup
5
6

More than 5 years have passed since last update.

AnacondaでOpenCV3をインストールする

Last updated at Posted at 2017-06-29

OpenCV3はPython3.6には対応していない?

ということで、これで躓いてた。
結論として、Anacondaで3.5環境を作りインストールする。

毎度怒られるからやけになった。

$ conda create -yn newproject python=3.5.2
$ source activate newproject

仮想環境がアクティブになったら、以下のコマンドでインストール。

$ conda install -c https://conda.anaconda.org/menpo opencv3
$ conda list
# packages in environment at /anaconda/envs/opencvtest:
#
hdf5                      1.8.17                        1  
mkl                       2017.0.3                      0  
numpy                     1.13.0                   py35_0  
opencv3                   3.1.0                    py35_0    menpo
openssl                   1.0.2l                        0  
pip                       9.0.1                    py35_1  
python                    3.5.2                         0  
readline                  6.2                           2  
setuptools                27.2.0                   py35_0  
sqlite                    3.13.0                        0  
tbb                       4.3_20141023                  0    menpo
tk                        8.5.18                        0  
wheel                     0.29.0                   py35_0  
xz                        5.2.2                         1  
zlib                      1.2.8                         3  

やったぜ!

5
6
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
5
6