LoginSignup
1
0

More than 5 years have passed since last update.

macのpyenv環境にopnecv入れる

Posted at

環境

macOS High Sierra
バージョン10.13.4

インストール

インストールしたいpyenvの環境に切り替えて、

pip install opencv-python

確認

python 

Python 3.6.4 (default, Feb 17 2019, 10:36:32)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.10.44.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

import cv2
cv2.__version__

'4.0.0'

インストールできた。
ビルドあると思ってたのに簡単すぎて驚いた。

1
0
0

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
1
0