this Pycharm code line is not working (gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) photo of the error: Image of the error I left some possibles solution to this problem at the bottom of the question, in the answers section, I hope it works for you . Continue reading...