Installation

Installing Pinecone client libraries

Use the following shell command to install the Pinecone Python client for use with Python version 3:

Copy
Copied
`pip3 install -U pinecone-client`

For older versions of Python, use the following shell command:

Copy
Copied
pip install -U pinecone-client

Installing Pinecone in a Jupyter notebook

Alternatively, you can install Pinecone in a Jupyter notebook:

Copy
Copied
!pip 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:

Copy
Copied
pip 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.