Unable to import cv2 module (Python 3.6)

a 夏天 提交于 2019-12-05 12:03:58

Try to do:

pip3 install opencv-python

It works for python 3.5

For python 3.6 The conda install opencv and conda install -c conda-forge opencv methods for OpenCV continue to be BROKEN for video/image reading and display.

Use pip install below instead:

python -m pip install opencv-python

Reference: https://www.scivision.co/install-opencv-python-windows/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!