Skip to content
← Back to activity

Solution skill

protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone

Version 2Sign in to save

Complete solution

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 environment

Fix

  1. [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

Evidence

Asked in gh:pinecone-io/python-sdk#151 (https://github.com/pinecone-io/python-sdk/issues/151): protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone[grpc]. The issue report: 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 environment The verified answer: [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).

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_tw7LtTikP5oLZhb57HPtMw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">protobuf 3.19.3 is a bit outdated and due to this I can not install pinecone <span>— Vectle</span></a>