Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't "pip install mediapipe" in python 3.12.1 with pip version 23.3.2 in windows #5035

Closed
saptrshighosh opened this issue Dec 22, 2023 · 13 comments
Assignees
Labels
os:windows MediaPipe issues on Windows platform:python MediaPipe Python issues type:build/install For Build and Installation issues

Comments

@saptrshighosh
Copy link

OS Platform and Distribution

Windows 11 23H2

Compiler version

No response

Programming Language and version

Python 3.12.1

Installed using virtualenv? pip? Conda?(if python)

pip 23.3.2

MediaPipe version

0.10.9

Bazel version

No response

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

4.8.1

Describe the problem

pip install mediapipe

Complete Logs

Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
@saptrshighosh saptrshighosh added the type:build/install For Build and Installation issues label Dec 22, 2023
@kuaashish
Copy link
Collaborator

Hi @saptrshighosh,

It seems you are using an unsupported Python version. The recommended versions are between 3.8 and 3.11, as specified in the Python Setup documentation. Version 3.12 is not yet supported in Mediapipe. Kindly use the recommended version and inform us if you encounter any issues during the Mediapipe build process with Pip.

Thank you

@kuaashish kuaashish assigned kuaashish and unassigned ayushgdev Dec 22, 2023
@kuaashish kuaashish added platform:python MediaPipe Python issues os:windows MediaPipe issues on Windows stat:awaiting response Waiting for user response labels Dec 22, 2023
@saptrshighosh
Copy link
Author

So can I uninstall Python 3.12.1 (latest) from my system and install Python 3.11.7. Or Can I use both at the same time? What would you suggest?

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Dec 22, 2023
@kuaashish
Copy link
Collaborator

Hi @saptrshighosh,

If you prefer to continue using version 3.12, we recommend reviewing the StackOverflow thread provided. It's important to note that we have not tested this specific scenario, and we cannot guarantee the successful installation of MediaPipe. However, based on our observations, similar issues have been resolved by downgrading to a supported version of Python and uninstalling any unsupported versions.

Thank you

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Dec 22, 2023
@saptrshighosh
Copy link
Author

Okay, thanks for the information. Let me try with Python 3.11.7. I'll let you know.

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Dec 22, 2023
@kuaashish
Copy link
Collaborator

Hi @saptrshighosh,

Certainly, please provide an update on the status, and inform us if any issues persist.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Dec 22, 2023
@saptrshighosh
Copy link
Author

Yes the pip install mediapipe is working in Python 3.11.7

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Waiting for user response label Dec 22, 2023
@kuaashish
Copy link
Collaborator

Hi @saptrshighosh,

Thank you for confirming. Could you kindly inform us if we may consider this issue resolved and proceed to close the status?

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Dec 22, 2023
@saptrshighosh
Copy link
Author

Hi @saptrshighosh,

Thank you for confirming. Could you kindly inform us if we may consider this issue resolved and proceed to close the status?

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@saptrshighosh
Copy link
Author

saptrshighosh commented Dec 22, 2023 via email

@kuaashish kuaashish removed the stat:awaiting response Waiting for user response label Dec 28, 2023
@g-o-o-g-l-e
Copy link

I need help on #57

@suyashcjoshi
Copy link

When will you support python 3.12 ?

@maimemory
Copy link

Now python 3.12.3 can be installed mediapipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:windows MediaPipe issues on Windows platform:python MediaPipe Python issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

6 participants