Closed NomanBaigA closed 2 years ago
Have you pip installed your cv2 module?
pip install opencv-python
This is it. if you just paste error to google, that is first result.
maybe the path in which u installed may not in the PATH variable Check it also usually CV2 requires media pack to be enabled on windows
Thank you, everyone
Traceback (most recent call last): File "c:\Users\USERNAME\Desktop\MyIGBot-main\try1.py", line 1, in
from utils import get_media_duration
File "c:\Users\USERNAME\Desktop\MyIGBot-main\utils.py", line 1, in
from myigbot import MyIGBot File "c:\Users\USERNAME\Desktop\MyIGBot-main\myigbot.py", line 10, in
import cv2 ModuleNotFoundError: No module named 'cv2'