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
167.16k stars 44.19k forks source link

ERROR: Error loading ASGI app. Could not import module "forge.app". #7225

Closed dhuang329 closed 1 month ago

dhuang329 commented 3 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.

After the asgi loading error was fixed, I deleted the whole folder and cloned AutoGPT again. Then I repeated these steps: added path environment variable so it can recognize the poetry package, changed the path of agbenchmark in pyproject.toml so it could find agbenchmark, set up OpenAI API key in .env. The error still happened. My device is a M1 Pro with macos Ventura 13.1.

Upload Activity Log Content

No response

Upload Error Log Content

No response

Swiftyos commented 3 months ago

Have you pulled the latest version:

git pull

The try the following to activate the poetry env, which will handle making sure the deps are in the path:

poetry install
poetry shell
dhuang329 commented 3 months ago

Have you pulled the latest version:

git pull

The try the following to activate the poetry env, which will handle making sure the deps are in the path:

poetry install
poetry shell

Hi, I tried to pull the latest version, but running poetry install gave this: Poetry could not find a pyproject.toml file in /Users/apple/AutoGPT or its parents And I found the pyproject.toml was located in AutoGPT/autogpt and AutoGPT/agents/'myagentname'. So I cd to autogpt and run the two shell command. However, the error loading ASGI app. Could not import module "forge.app" still came up.

github-actions[bot] commented 1 month 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 1 month ago

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