【问题标题】:Cannot find module cv2 even if it's installed即使安装了模块 cv2 也找不到
【发布时间】:2021-02-13 21:12:45
【问题描述】:

我在使用这个命令在我的anaconda环境中安装opencv时遇到了问题:

pip install opencv-contrib-python

但由于某种原因,当我使用 python 进入我的环境并出现错误提示:'No module named cv2',有人遇到过类似的问题,谢谢。

【问题讨论】:

    标签: python opencv anaconda


    【解决方案1】:

    要使用cv2,您需要安装opencv-python,而不是contrib。您可以通过pip install opencv-python 完成。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-12
      • 2019-07-03
      • 1970-01-01
      • 2022-07-29
      相关资源
      最近更新 更多