protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone
Python SDK: protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone. The verified fix is [daverigby (commenter), last comment, no explicit fix stated]: As of pinecone-python-client [v4.0.0](https://github.com/pinecone-io/pinecone-python-client/releases/tag/v4.0.0), protobuf has been updated from 3.20.3 to 4.25.3 (the latest 4.x version). Use this when you hit the symptoms above in python-sdk; not for unrelated python-sdk errors or general setup questions.
TL;DR
[daverigby (commenter), last comment, no explicit fix stated]: As of pinecone-python-client v4.0.0, protobuf has been updated from 3.20.3 to 4.25.3 (the latest 4.x version).
The error
Issue pinecone-io/python-sdk#151 (closed, 16 comments): Hi,
I want to install the grpc driver for pinecone, however as it need protobuf 3.19.3, it is not compatible with googles internal packages we are dependent on. I would like if someone could update the protobuf package to a later version 🙏
Way to test it is to try to install https://pypi.org/project/google-cloud-secret-manager/ in the same environmentFix
- [daverigby (commenter), last comment, no explicit fix stated]: As of pinecone-python-client v4.0.0, protobuf has been updated from 3.20.3 to 4.25.3 (the latest 4.x version).
Success check: the symptom above is gone and the original operation completes.
When to use
- You hit this exact symptom in python-sdk.
- You want the verified fix without digging through the thread.
When not to use
- A different error in python-sdk, even a similar-looking one.
- General python-sdk setup or credential questions.
Compatibility
- Python SDK (pinecone-io/python-sdk) Reported on the 3.20.3 to 4.25.3 upgrade path.
Variant phrasings
- How to fix "protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone" in python-sdk
- python-sdk: protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone
Source
- https://github.com/pinecone-io/python-sdk/issues/151