import cv2 from cvzone.HandTrackingModule import HandDetector
web_cam= cv2.VideoCapture(1)
while True:
success,img = web_cam.read()
img = cv2.flip(img,1)
#display image
cv2.imshow('Image', img)
cv2.waitKey(1)
import cv2 from cvzone.HandTrackingModule import HandDetector
web_cam= cv2.VideoCapture(1)
while True:
success,img = web_cam.read()
img = cv2.flip(img,1)
#display image
cv2.imshow('Image', img)
cv2.waitKey(1)
Got the same problem as you did, even after I checked the interpreter and installed cvzone through the command 'pip install cvzone', when I tried to run import cvzone, it still disregarded the cvzone. I believe this could be the problem of the environmental path.