b31ngd3v / MyIGBot

MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
https://pypi.org/project/myigbot/
MIT License
172 stars 36 forks source link

ModuleNotFoundError: No module named 'cv2' (Details Below) #46

Closed NomanBaigA closed 2 years ago

NomanBaigA commented 2 years ago

Traceback (most recent call last): File "c:\Users\USERNAME\Desktop\MyIGBot-main\try1.py", line 1, in
from myigbot import MyIGBot File "c:\Users\USERNAME\Desktop\MyIGBot-main\myigbot.py", line 10, in from utils import get_media_duration File "c:\Users\USERNAME\Desktop\MyIGBot-main\utils.py", line 1, in
import cv2 ModuleNotFoundError: No module named 'cv2'

Shrihari-cRypTo commented 2 years ago

Have you pip installed your cv2 module?

drdoof2019 commented 2 years ago

pip install opencv-python This is it. if you just paste error to google, that is first result.

Shrihari-cRypTo commented 2 years ago

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

NomanBaigA commented 2 years ago

Thank you, everyone