Hi there - I am using the code below to connect with Pinecone from colab notebook but cannot connect. Please assist.
!pip3 install -U pinecone[grpc] -q or !pip install “pinecone[grpc]” --upgrade -q
from pinecone.grpc import PineconeGRPC as Pinecone
api_key = os.environ.get(‘PINECONE_API_KEY’)
Use the API key to initialize the Pinecone client
pc = Pinecone(api_key=api_key)
getting below error:
ModuleNotFoundError: No module named ‘pinecone.exceptions.exceptions’; ‘pinecone.exceptions’ is not a package