AttributeError: type object 'Pinecone' has no attribute 'from_existing_index'

Hey ayush. I was facing similar problem, the solution to this is using PineconeVectorStore class instead of Pinecone to get existing Indexes.

zeke has already provided you with the import statements. If you face any errors downloading the packages i recently posted a solution to that , you can check it here.

feel free to ask anything.
hope it helps

2 Likes