Installing OpenCV for Python on Ubuntu, getting ImportError: No module named cv2.cv

后端 未结 20 921
遥遥无期
遥遥无期 2020-11-28 23:48

I have an Ubuntu 14.04 system, on which I want to install OpenCV and use it with Python 2.x.

I installed OpenCV using the instructions here: https://help.ubuntu.com/

20条回答
  •  Happy的楠姐
    2020-11-29 00:44

    try using sudo apt install python3-opencv

    it will install the latest package of open cv.

    Or you could try reinstalling the opencv package. It might have got corrupted during installation.

提交回复
热议问题