I am using a python script that imports cv2 first and then runs the code using opencv library to activate the webcam but when i execute the file through bash console, instead of running it says
open VIDEOIO(V4L2): can't find camera device
FYI this script works perfect on my localserver but not when hosted on pythonanywhere
Please help me or suggest me some solution as I am a rookie in Python