Skip to content

ERROR: cannot import name 'solutions' from 'mediapipe' #645

Description

@zovember

Help me, please. When i run this code:
from mediapipe import solutions

Print:
Traceback (most recent call last): File "D:\PythonProject\hello.py", line 3, in <module> from mediapipe import solutions ImportError: cannot import name 'solutions' from 'mediapipe' (C:\Python_3.9\lib\site-packages\mediapipe\__init__.py)

But if i run
import mediapipe as mp
no mistakes

Why is this so? I've downloaded mediapipe with pip. I'm using Python 3.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions