Use the following shell command to install the Pinecone Python client for use with Python version 3:
`pip3 install -U pinecone-client`
For older versions of Python, use the following shell command:
pip install -U pinecone-client
Alternatively, you can install Pinecone in a Jupyter notebook:
!pip install -U pinecone-client
We strongly recommend installing Pinecone in a virtual environment. For more information on using Python virtual environments, see:
Pinecone also comes with a gRPC flavor of the standard client. To install it, use the following command:
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.