mediapipe module : "hands" is not a known attribute of module "mediapipe.python.solutions"

2 days ago 12
ARTICLE AD BOX

I'm trying to run a finger-painting project using MediaPipe Hands, but Python keeps throwing this error:

AttributeError: module 'mediapipe.solutions' has no attribute 'hands'

mp.solutions.hands is not recognized, and autocomplete also doesn't show it.

I installed MediaPipe using:

pip install mediapipe

I'm using:

Python: (3.10.11)

OS: (Windows)

Mediapipe version: (0.10.21)

OpenCV version: (4.11.0)

Read Entire Article