Problem
When using an older version of the Python SDK (earlier than 3.0.0), trying to import thePinecone class raises the following error:
console
Solution
Upgrade the SDK version and try again:Shell
Shell
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
๐ New: Standard and Enterprise orgs get a one-time $250 bulk import credit (1 TB), through July 31, 2026. See details
Troubleshoot โError: Cannot import name โPineconeโ from โpineconeโโ in Pinecone: When using an older version of the Python SDK (earlier than 3.0.0), trying.
Pinecone class raises the following error:
ImportError: cannot import name 'Pinecone' from 'pinecone'
# If you're interacting with Pinecone via HTTP requests, use:
pip install pinecone --upgrade
# If you're interacting with Pinecone via gRPC, use:
pip install "pinecone[grpc]" --upgrade
Was this page helpful?