Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
166.69k stars 44.1k forks source link

AutoGPT Forge Installation Error: Can't assign requested address #6578

Closed markusmak closed 7 months ago

markusmak commented 9 months ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

MacOS

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

Cannot install agbenchmark and cannot run custom agent.

Upload Activity Log Content

FVFGW3EGQ05N:AutoGPT bytedance$ ./run agent start tryagent
Removed the poetry environment at /Users/bytedance/Library/Caches/pypoetry/virtualenvs/autogpt-forge-Zq_TT6Gj-py3.10.
Creating virtualenv autogpt-forge-Zq_TT6Gj-py3.10 in /Users/bytedance/Library/Caches/pypoetry/virtualenvs
Installing dependencies from lock file

Package operations: 162 installs, 0 updates, 0 removals

  • Installing attrs (23.1.0)
  • Installing frozenlist (1.4.0)
  • Installing idna (3.6)
  • Installing multidict (6.0.4)
  • Installing pyasn1 (0.5.1)
  • Installing six (1.16.0)
  • Installing aiosignal (1.3.1)
  • Installing asttokens (2.4.1)
  • Installing async-timeout (4.0.3)
  • Installing cachetools (5.3.2)
  • Installing certifi (2023.11.17)
  • Installing charset-normalizer (3.3.2)
  • Installing exceptiongroup (1.2.0)
  • Installing executing (2.0.1)
  • Installing h11 (0.14.0)
  • Installing outcome (1.3.0.post0)
  • Installing parso (0.8.3)
  • Installing protobuf (4.25.1)
  • Installing ptyprocess (0.7.0)
  • Installing pure-eval (0.2.2)
  • Installing pyasn1-modules (0.3.0)
  • Installing rsa (4.9)
  • Installing sniffio (1.3.0)
  • Installing sortedcontainers (2.4.0)
  • Installing traitlets (5.14.0)
  • Installing urllib3 (2.1.0)
  • Installing wcwidth (0.2.12)
  • Installing yarl (1.9.4)
  • Installing aiohttp (3.9.1)
  • Installing anyio (4.1.0)
  • Installing decorator (5.1.1)
  • Installing filelock (3.13.1)
  • Installing fsspec (2023.12.2)
  • Installing google-auth (2.25.2)
  • Installing googleapis-common-protos (1.62.0)
  • Installing humanfriendly (10.0)
  • Installing iniconfig (2.0.0)
  • Installing jedi (0.19.1)
  • Installing markupsafe (2.1.3)
  • Installing matplotlib-inline (0.1.6)
  • Installing mpmath (1.3.0)
  • Installing numpy (1.26.2)
  • Installing packaging (23.2)
  • Installing pexpect (4.9.0)
  • Installing pluggy (1.3.0)
  • Installing prompt-toolkit (3.0.43)
  • Installing pycparser (2.21)
  • Installing pygments (2.17.2)
  • Installing pysocks (1.7.1)
  • Installing pyyaml (6.0.1)
  • Installing requests (2.31.0)
  • Installing smmap (5.0.1)
  • Installing stack-data (0.6.3)
  • Installing tomli (2.0.1)
  • Installing tqdm (4.66.1)
  • Installing trio (0.23.1)
  • Installing typing-extensions (4.9.0)
  • Installing wsproto (1.2.0)
  • Installing backoff (2.2.1)
  • Installing cffi (1.16.0)
  • Installing click (8.1.7)
  • Installing coloredlogs (15.0.1)
  • Installing contourpy (1.2.0)
  • Installing cycler (0.12.1)
  • Installing distlib (0.3.8)
  • Installing flatbuffers (23.5.26)
  • Installing fonttools (4.46.0)
  • Installing gitdb (4.0.11)
  • Installing google-api-core (2.15.0)
  • Installing google-crc32c (1.5.0)
  • Installing httpcore (0.17.3)
  • Installing httptools (0.6.1)
  • Installing ipython (8.18.1)
  • Installing huggingface-hub (0.19.4)
  • Installing jinja2 (3.1.2)
  • Installing jsonpickle (3.0.2)
  • Installing kiwisolver (1.4.5)
  • Installing lockfile (0.12.2)
  • Installing monotonic (1.6)
  • Installing openai (0.27.10)
  • Installing networkx (3.2.1)
  • Installing pillow (10.1.0)
  • Installing platformdirs (4.1.0)
  • Installing pydantic (1.10.13)
  • Installing pyhumps (3.8.0)
  • Installing pyparsing (3.1.1)
  • Installing pytest (7.4.3)
  • Installing python-dateutil (2.8.2)
  • Installing python-dotenv (1.0.0)
  • Installing pytz (2023.3.post1)
  • Installing regex (2023.10.3)
  • Installing soupsieve (2.5)
  • Installing starlette (0.27.0)
  • Installing sympy (1.12)
  • Installing trio-websocket (0.11.1)
  • Installing tzdata (2023.3)
  • Installing uvloop (0.19.0)
  • Installing watchfiles (0.21.0)
  • Installing websockets (12.0)
  • Installing zipp (3.17.0)
  • Installing appdirs (1.4.4)
  • Installing bcrypt (4.1.1)
  • Installing beautifulsoup4 (4.12.2)
  • Installing cfgv (3.4.0)
  • Installing chroma-hnswlib (0.7.3)
  • Installing colorama (0.4.6)
  • Installing curl-cffi (0.5.10)
  • Installing fastapi (0.99.1)
  • Installing gitpython (3.1.40)
  • Installing google-cloud-core (2.4.1)
  • Installing google-resumable-media (2.7.0)
  • Installing grpcio (1.60.0)
  • Installing helicone (1.0.14)
  • Installing httpx (0.24.1)
  • Installing identify (2.5.33)
  • Installing importlib-metadata (7.0.0)
  • Installing importlib-resources (6.1.1)
  • Installing lxml (4.9.3)
  • Installing matplotlib (3.8.2)
  • Installing mccabe (0.7.0)
  • Installing mypy-extensions (1.0.0)
  • Installing nodeenv (1.8.0)
  • Installing onnxruntime (1.16.3)
  • Installing overrides (7.4.0)
  • Installing pandas (2.1.4)
  • Installing pathspec (0.12.1)
  • Installing posthog (3.1.0)
  • Installing psutil (5.9.6)
  • Installing pulsar-client (3.3.0)
  • Installing pycodestyle (2.11.1)
  • Installing pyflakes (3.1.0)
  • Installing pypika (0.48.9)
  • Installing pytest-asyncio (0.21.1)
  • Installing python-multipart (0.0.6)
  • Installing pyvis (0.3.2)
  • Installing selenium (4.16.0)
  • Installing tiktoken (0.5.2)
  • Installing tokenizers (0.15.0)
  • Installing toml (0.10.2)
  • Installing typer (0.9.0)
  • Installing types-requests (2.31.0.10)
  • Installing uvicorn (0.23.2)
  • Installing virtualenv (20.25.0)
  • Installing agbenchmark (0.0.10 b33f4cc): Cloning...
  • Installing autoflake (2.2.1)
  • Installing black (23.12.0)```

### Upload Error Log Content

Installing agbenchmark (0.0.10 b33f4cc): Failed

SSLCertVerificationError

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

at /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py:1342 in do_handshake 1338│ timeout = self.gettimeout() 1339│ try: 1340│ if timeout == 0.0 and block: 1341│ self.settimeout(None) → 1342│ self._sslobj.do_handshake() 1343│ finally: 1344│ self.settimeout(timeout) 1345│ 1346│ def _real_connect(self, addr, connect_ex):

The following error occurred when trying to handle this error:

SSLError

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

at /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py:491 in _make_request 487│ if isinstance( 488│ new_e, (OSError, NewConnectionError, TimeoutError, SSLError) 489│ ) and (conn and conn.proxy and not conn.has_connected_to_proxy): 490│ new_e = _wrap_proxy_error(new_e, conn.proxy.scheme) → 491│ raise new_e 492│ 493│ # conn.request() calls http.client.*.request, not the method in 494│ # urllib3.request. It also calls makefile (recv) on the socket. 495│ try:

The following error occurred when trying to handle this error:

MaxRetryError

HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Significant-Gravitas/AutoGPT.git/info/refs?service=git-upload-pack (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

at /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py:515 in increment 511│ ) 512│ 513│ if new_retry.is_exhausted(): 514│ reason = error or ResponseError(cause) → 515│ raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 516│ 517│ log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) 518│ 519│ return new_retry

The following error occurred when trying to handle this error:

GitProtocolError

HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Significant-Gravitas/AutoGPT.git/info/refs?service=git-upload-pack (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

at /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dulwich/client.py:2287 in _http_request 2283│ resp = self.pool_manager.request( 2284│ "POST", url, headers=req_headers, body=data, preload_content=False 2285│ ) 2286│ except urllib3.exceptions.HTTPError as e: → 2287│ raise GitProtocolError(str(e)) from e 2288│ 2289│ if resp.status == 404: 2290│ raise NotGitRepository 2291│ if resp.status == 401:

Cannot install agbenchmark.

• Installing autoflake (2.2.1) • Installing black (23.12.0) • Installing bs4 (0.0.1) • Installing chromadb (0.4.14) • Installing colorlog (6.8.0) • Installing duckduckgo-search (4.0.0) • Installing flake8 (6.1.0) • Installing google-cloud-storage (2.14.0) • Installing isort (5.13.1) • Installing litellm (0.1.824) • Installing mock (5.1.0) • Installing mypy (1.7.1) • Installing pre-commit (3.6.0) • Installing pydevd-pycharm (233.11799.298) • Installing sqlalchemy (2.0.23) • Installing tenacity (8.2.3) • Installing watchdog (3.0.0) • Installing webdriver-manager (4.0.1) Setup completed successfully. Benchmark Server starting please wait... Agent 'tryagent' starting please wait... FVFGW3EGQ05N:AutoGPT bytedance$ kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Command not found: agbenchmark

   d8888          888             .d8888b.  8888888b. 88888888888 
  d88888          888            d88P  Y88b 888   Y88b    888     
 d88P888          888            888    888 888    888    888     
d88P 888 888  888 888888 .d88b.  888        888   d88P    888     

d88P 888 888 888 888 d88""88b 888 88888 8888888P" 888
d88P 888 888 888 888 888 888 888 888 888 888
d8888888888 Y88b 888 Y88b. Y88..88P Y88b d88P 888 888
d88P 888 "Y88888 "Y888 "Y88P" "Y8888P88 888 888

            8888888888                                            
            888                                                   
            888                                                   
            8888888  .d88b.  888d888 .d88b.   .d88b.              
            888     d88""88b 888P"  d88P"88b d8P  Y8b             
            888     888  888 888    888  888 88888888             
            888     Y88..88P 888    Y88b 888 Y8b.                 
            888      "Y88P"  888     "Y88888  "Y8888              
                                         888                      
                                    Y8b d88P                      
                                     "Y88P"                v0.1.0

[2023-12-16 22:01:06,434] [main ] [INFO] 📝 Agent server starting on http://localhost:8000 ERROR: [Errno 49] Can't assign requested address

github-actions[bot] commented 7 months ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 7 months ago

This issue was closed automatically because it has been stale for 10 days with no activity.

matepaiva commented 3 months ago

I still have the same problem.