TypeError: Pinecone.__init__() got an unexpected keyword argument 'api_key'

Not sure if anyone else is getting this error when initializing with this:

from pinecone import Pinecone

pc = Pinecone(api_key=‘XXX’)


Nevermind, figured it out. I saw that I had this import from the old langchain doc.

from langchain_community.vectorstores import Pinecone

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.