Hi authors,
Thanks for your great work!
I encountered a dependency conflict error when trying to create the conda environment using inference-env.yaml.
Issue: The YAML pins protobuf==3.20.3, but grpcio and grpcio-tools require a newer version of protobuf (>= 4.x or 5.x), causing the installation to fail.
Solution: I managed to fix this by downgrading grpcio and grpcio-tools to 1.43.0, which is compatible with protobuf 3.20.3.
Here is the working pip section in inference-env.yaml:
- pip:
- grpcio==1.43.0 # downgrade
- grpcio-tools==1.43.0 # downgrade
# ...
- protobuf==3.20.3
Hope this would be of help.
Hi authors,
Thanks for your great work!
I encountered a dependency conflict error when trying to create the conda environment using
inference-env.yaml.Issue: The YAML pins
protobuf==3.20.3, butgrpcioandgrpcio-toolsrequire a newer version ofprotobuf(>= 4.x or 5.x), causing the installation to fail.Solution: I managed to fix this by downgrading
grpcioandgrpcio-toolsto 1.43.0, which is compatible withprotobuf3.20.3.Here is the working pip section in
inference-env.yaml:Hope this would be of help.