yoheinakajima / babyagi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'pinecone' has no attribute 'init'

GbrlOl opened this issue · comments

I installed pinecone, and it gives me the following error, I saw in Issues that this error had occurred and I uninstalled pinecone and reinstalled it, the same error occurred. Then, I installed a previous version (3.0.0.dev8) and the same error still occurs.

AttributeError Traceback (most recent call last)
in <cell line: 5>()
3 api_key = os.environ["PINECONE_API_KEY"]
4 environment = os.environ["PINECONE_ENVIRONMENT"]
----> 5 pinecone.init(api_key=api_key, environment=environment)

AttributeError: module 'pinecone' has no attribute 'init'