cv2 import error on Jupyter notebook

前端 未结 9 862
误落风尘
误落风尘 2020-12-03 08:48

I\'m trying to import cv2 on Jupyter notebook but I get this error:

ImportError: No module named cv2

I am

9条回答
  •  不思量自难忘°
    2020-12-03 09:36

    I had this issue in my Jupyter Notebook after I had "installed" the opencv package, using Anaconda Navigator, on my base (root) environment.

    However, after "installing" the package and its dependencies, Anaconda Navigator showed a reminder popup to update to the next Anaconda Navigator version. I ignored this at first, but couldn't use the opencv package in my Jupyter Notebook.

    After I did update Anaconda Navigator to the newer version, the opencv package install worked fine.

提交回复
热议问题