Open ikrammert opened 10 months ago
Pinecone client initialisation has been significantly refactored as of v3.0.0 - global state including various code executed during import pinecone
has been moved into the Pinecone
and Index
objects.
As such, I would recommend re-testing this with the latest version of the SDK - while I cannot guarantee the issue you were seeing was fixed (and I don't have a Windows environment readily available to test with), a lot of the internals have changed and you might have more success with v3 and upwards.
Is this a new bug in the Pinecone Python client?
Current Behavior
I am trying to extract an exe from the code I wrote with Pinecone using pyinstaller.
pyinstaller --onefile main.py -n pinecone.exe
Expected Behavior
I get this error while creating exe
Steps To Reproduce
apiKey = "my_key" environment = "my"
pinecone.init(api_key=apiKey,environment=environment) a= pinecone.list_indexes() print(a) params={} a['name']= "helloworld" a['dimension'] = 8
pinecone.create_index(name="helloworld", dimension=8, metric="euclidean")
pinecone.create_index(**params) pinecone.describe_index("helloworld") a= pinecone.list_indexes() print(a)
Additional Context
No response