LoginSignup
15
7

More than 5 years have passed since last update.

pip install poencv-pythonで入れたopenCVのバージョンを変更する

Last updated at Posted at 2019-01-27

tl;dr

下記のコマンドでインストールされるopenCVのバージョンが'4.0.0'となりました。
私の既存の環境では、3.x.xで開発していたため、新しい環境でopenCVを入れ直すと、エラーが出るようになりました。
暫定措置でopenCVをダウングレードすることにしました。その手順を記載します。

pip install opencv-python

コマンド

uninstallしてバージョン指定して再インストールします。この例では、3.4.5を入れています。

pip3 uninstall opencv-python
pip3 install opencv-python==3.4.5.20
15
7
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
15
7