ModuleNotFoundError: No module named 'cv2'

后端 未结 2 1276
温柔的废话
温柔的废话 2021-01-12 15:55

I have been working on this error for a long time now. I have Python 3.6 and Python 2.7. I have tried to install opencv 2 and 3 in Python 2.7 and Python 3.6 respectively. I

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-12 16:41

    In Windows 10 you can install it as

    pip install opencv-python
    

    this will allow you to import cv2 module

提交回复
热议问题