Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
dhuang329 opened this issue Jun 18, 2024 · 2 comments
Open
1 task done

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

dhuang329 opened this issue Jun 18, 2024 · 2 comments
Assignees

Comments

@dhuang329
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

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
Copy link
Contributor

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

@Swiftyos Swiftyos self-assigned this Jun 28, 2024
@dhuang329
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants