Installation¶
Prerequisites¶
Python 3.10 or newer.
A Pinecone account and an API key. See Authentication for where the SDK looks for it.
Install¶
pip install pinecone
Or with uv:
uv add pinecone
What the base install already includes¶
There are no user-facing extras. pip install pinecone gives you the whole SDK:
The synchronous
Pineconeclient and theasyncioAsyncPineconeclient. Both are built onhttpx, so neither needs a separate install. See Sync vs. async.The gRPC data-plane client, reached with
pc.index(name="product-catalog", grpc=True). It is a compiled extension module shipped inside the wheel, so there is nothing extra to install. See Using gRPC.The
Adminclient for organization and project administration.
The dev and docs extras exist for working on the SDK itself, not for using it.
Wheels are published for Linux (glibc and musl, x86-64 and arm64), macOS (Intel and Apple silicon), and Windows x86-64. Installing from the source distribution instead builds the gRPC extension from Rust and needs a Rust toolchain.
pandas is not installed for you¶
One method, upsert_from_dataframe(), takes a
pandas.DataFrame. pandas is not a dependency of the SDK and not offered as an
extra, because that one method is the only thing that needs it. Install it yourself
if you use it:
pip install pandas
Calling the method without pandas installed raises RuntimeError. Every other
bulk-upsert path, including upsert() in a loop and
start_import(), works without it. See
Upsert from a DataFrame.
Verify the installation¶
python -c "import pinecone; print(pinecone.__version__)"
That prints the installed version, which should match what you asked pip for.