mediapipe
mediapipe copied to clipboard
how to install mediapipe_model_maker0.2.1.4 in windows?
OS Platform and Distribution
windows10
Compiler version
No response
Programming Language and version
python3.9.13
Installed using virtualenv? pip? Conda?(if python)
virtualenv
MediaPipe version
No response
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)
No response
Describe the problem
I run "pip install mediapipe_model_maker" , but I can only install version 0.1.0.1. I was trying to install mediapipe_model_maker by "pip install mediapipe_model_maker-0.2.1.4-py3-none-any.whl", but also failed
Complete Logs
I run "pip install mediapipe_model_maker" , but I can only install version 0.1.0.1. I was trying to install mediapipe_model_maker by "pip install mediapipe_model_maker-0.2.1.4-py3-none-any.whl", but also failed. The error:
ERROR: Cannot install mediapipe-model-maker and mediapipe-model-maker==0.2.1.4 because these package versions have conflicting dependencies.
The conflict is caused by:
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.15.0 depends on tensorflow-text~=2.15.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.2 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.1 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.0 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.13.2 depends on tensorflow-text~=2.13.0I run "pip install mediapipe_model_maker" ,but I can only install version 0.1.0.1. I was trying to install mediapipe_model_maker by "pip install mediapipe_model_maker-0.2.1.4-py3-none-any.whl", but also failed. The error:
ERROR: Cannot install mediapipe-model-maker and mediapipe-model-maker==0.2.1.4 because these package versions have conflicting dependencies.
The conflict is caused by:
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.15.0 depends on tensorflow-text~=2.15.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.2 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.1 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.14.0 depends on tensorflow-text~=2.14.0
mediapipe-model-maker 0.2.1.4 depends on tensorflow-text
tf-models-official 2.13.2 depends on tensorflow-text~=2.13.0
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Can version 0.2.1.4 be installed in windows?
Hi @libofei2004,
Unfortunately, you can not install the latest version of MediaPipe Model Maker on Windows and Silicon-based macOS due to the discontinued support of TensorFlow Text on these platforms, as noted here. Currently, installing the latest version is little complex, but a community member has identified a potential method here. However, due to the dependency on TensorFlow Text, there is little we can do at this time.
Thank you!!
I would like to add the following to his topic:
This issue has been going on for a year now and several issues have been created. If no quick fixes can be found, I think that at least the MediaPipe Model Maker documentation + related sites (https://ai.google.dev/edge/mediapipe/solutions/model_maker) and the project description on the pypi site (https://pypi.org/project/mediapipe-model-maker/) should state that it can currently only be installed on Linux or WSL (or maybe Intel-based Macs, I am unsure), or that Google Colab should be used. I think that would help some people instead of everyone always trying to get it to work, wasting hours trying to fix dependency issues and then ending up searching for old issues or reopening the same issue over and over again.
Especially since the Model Maker is a really cool feature that allows you to customize your own ML model.
Thank you very much!!
Hi @jk4e,
Thank you for suggesting that we add descriptions to the documentation and PyPI. We should make this information available to help the community understand the currently supported platforms for Model Maker. For now, we are marking this as a feature request and sharing it with the team. We will try to address this based on our bandwidth, but we cannot promise a timeline for its availability.
Thank you!!
Hi @kuaashish,
Thanks so much for your quick and positive feedback and your efforts!!