When trying to run the project with TensorFlow 2.13.0 and Mediapipe 0.10.9, I encountered multiple dependency conflicts related to protobuf.
- TensorFlow 2.13.0 requires
protobuf>=5.3.0 (or latest versions)
- Mediapipe 0.10.9 requires
protobuf<4,>=3.11
This makes it impossible to install both packages in the same environment without breaking one of them.
it shows
Cannot satisfy both TensorFlow and Mediapipe protobuf requirements:
- Installing TensorFlow 2.13.0 upgrades protobuf to >=5
- Mediapipe 0.10.9 breaks because it only supports protobuf <4
- Running the app may fail with import errors or runtime protobuf errors.
When trying to run the project with TensorFlow 2.13.0 and Mediapipe 0.10.9, I encountered multiple dependency conflicts related to
protobuf.protobuf>=5.3.0(or latest versions)protobuf<4,>=3.11This makes it impossible to install both packages in the same environment without breaking one of them.
it shows
Cannot satisfy both TensorFlow and Mediapipe protobuf requirements: