'Even after installing cvzone Im unable to import HandDetector from cvzone.HandTrackingModule

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)


Solution 1:[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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ziyi Wang