Installation

How to install optional Pinecone clients.

Installing Pinecone client libraries

Use the following shell command to install the Pinecone Python client for use with Python versions 3.6+:

pip3 install -U pinecone-client

Installing Pinecone in a Jupyter notebook

Alternatively, you can install Pinecone in a Jupyter notebook:

!pip3 install -U pinecone-client

We strongly recommend installing Pinecone in a virtual environment. For more information on using Python virtual environments, see:

Installing the gRPC flavor of the standard client

Pinecone also comes with a gRPC flavor of the standard client. To install it, use the following command:

pip3 install -U "pinecone-client[grpc]"

The gRPC client comes with more dependencies compared to the standard client. To get faster upsert speeds, we recommend you use the gRPC client with multi-pod indexes. See the performance tuning section for more details.