Problems with entrepreneur gpt

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’, 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>

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!