# Problems with entrepreneur gpt

**URL:** https://community.pinecone.io/t/problems-with-entrepreneur-gpt/1167
**Category:** Support
**Tags:** fine-tuning
**Created:** [April 13, 2023, 2:29am UTC](https://community.pinecone.io/t/problems-with-entrepreneur-gpt/1167 "2023-04-13T02:29:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bry](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@bry](https://community.pinecone.io/u/bry)
#### Post date: [April 13, 2023, 2:29am UTC](https://community.pinecone.io/t/problems-with-entrepreneur-gpt/1167/1 "2023-04-13T02:29:38Z")

</div>

I keep getting this error from my pycharm , can’t figure out what I am doing wrong

C:\Users\mango\Downloads\Auto-GPT-master\Auto-GPT-master\>python scripts/main.py  
Welcome back! Would you like me to return to being Entrepreneur-GPT?  
Continue with the last settings?  
Name: Entrepreneur-GPT  
Role: an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.  
Goals: [‘Increase net worth.’, ‘Develop and manage multiple businesses autonomously.’, ‘Play to your strengths as a Large Language Model.’]  
Continue (y/n): y  
Traceback (most recent call last):  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py”, line 174, in \_new\_conn  
conn = connection.create\_connection(  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py”, line 72, in create\_connection  
for res in socket.getaddrinfo(host, port, family, socket.SOCK\_STREAM):  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\socket.py”, line 962, in getaddrinfo  
for res in \_socket.getaddrinfo(host, port, family, type, proto, flags):  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 703, in urlopen  
httplib\_response = self.\_make\_request(  
^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 386, in \_make\_request  
self.\_validate\_conn(conn)  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 1042, in \_validate\_conn  
conn.connect()  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py”, line 363, in connect  
self.sock = conn = self.\_new\_conn()  
^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py”, line 186, in \_new\_conn  
raise NewConnectionError(  
urllib3.exceptions.NewConnectionError: \<urllib3.connection.HTTPSConnection object at 0x00000206F9D97350\>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “C:\Users\mango\Downloads\Auto-GPT-master\Auto-GPT-master\scripts\main.py”, line 288, in   
memory = PineconeMemory()  
^^^^^^^^^^^^^^^^  
File “C:\Users\mango\Downloads\Auto-GPT-master\Auto-GPT-master\scripts\config.py”, line 17, in **call**  
cls.\_instances[cls] = super(  
^^^^^^  
File “C:\Users\mango\Downloads\Auto-GPT-master\Auto-GPT-master\scripts\memory.py”, line 30, in **init**  
if table\_name not in pinecone.list\_indexes():  
^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\manage.py”, line 185, in list\_indexes  
response = api\_instance.list\_indexes()  
^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\_client.py”, line 776, in **call**  
return self.callable(self, \*args, \*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\index\_operations\_api.py”, line 1132, in \_\_list\_indexes  
return self.call\_with\_http\_info(\*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\_client.py”, line 838, in call\_with\_http\_info  
return self.api\_client.call\_api(  
^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\_client.py”, line 413, in call\_api  
return self.\_\_call\_api(resource\_path, method,  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\_client.py”, line 200, in \_\_call\_api  
response\_data = self.request(  
^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\_client.py”, line 439, in request  
return self.rest\_client.GET(url,  
^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py”, line 236, in GET  
return self.request(“GET”, url,  
^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py”, line 202, in request  
r = self.pool\_manager.request(method, url,  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\request.py”, line 74, in request  
return self.request\_encode\_url(  
^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\request.py”, line 96, in request\_encode\_url  
return self.urlopen(method, url, \*\*extra\_kw)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\poolmanager.py”, line 376, in urlopen  
response = conn.urlopen(method, u.request\_uri, \*\*kw)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 815, in urlopen  
return self.urlopen(  
^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 815, in urlopen  
return self.urlopen(  
^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 815, in urlopen  
return self.urlopen(  
^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py”, line 787, in urlopen  
retries = retries.increment(  
^^^^^^^^^^^^^^^^^^  
File “C:\Users\mango\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\retry.py”, line 592, in increment  
raise MaxRetryError(\_pool, url, error or ResponseError(cause))  
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘[controller.your-pinecone-region.pinecone.io](http://controller.your-pinecone-region.pinecone.io)’, port=443): Max retries exceeded with url: /databases (Caused by NewConnectionError(‘\<urllib3.connection.HTTPSConnection object at 0x00000206F9D97350\>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’))

C:\Users\mango\Downloads\Auto-GPT-master\Auto-GPT-master\>

---

<div class="post-metadata">

### Author: ![ZacharyProser](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/zacharyproser/32/1146_2.png) [@ZacharyProser](https://community.pinecone.io/u/ZacharyProser)
#### Post date: [October 17, 2023, 6:33pm UTC](https://community.pinecone.io/t/problems-with-entrepreneur-gpt/1167/2 "2023-10-17T18:33:16Z")

</div>

Hi @bry,

Thank you for your question, and I’m sorry to hear you’re encountering this issue.

From a quick read through the stack trace you’ve shared, it appears that the Auto-GPT code may have been having issues contacting the Pinecone API.

- Are you sure that you exported your PINECONE\_API\_KEY and PINECONE\_ENVIRONMENT variables correctly and as expected by the Auto-GPT project?

Unfortunately, unless you are able to isolate the exact API call to Pinecone’s API that is failing, it appears this might be an error in the way that the Auto-GPT project is calling Pinecone.

You will probably have better luck posting this question in the Auto-GPT GitHub project issues.

I hope that’s helpful!
