Closed fbanespo1 closed 1 month ago
Got the same error.
same here
After installing agbenchmark same issue ./run agent start tonyagi ⌛ Running setup for agent 'tonyagi'... Directory /Users/tonyprojects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package Removed the poetry environment at /Users/Tony/projects/Auto-GPT/venv. Directory /Users/Tony/projects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package
[Errno 2] No such file or directory: 'python' Setup completed successfully.
⌛ (Re)starting benchmark server... Directory /Users/Tony/projects/Auto-GPT/agents/benchmark for agbenchmark does not seem to be a Python package
[Errno 2] No such file or directory: 'python'
Same issue
Same issue
I got past this issue by following this advice: https://stackoverflow.com/a/77915256 Take note of the critical warning about performance though
Same issue
I got past this issue by following this advice: https://stackoverflow.com/a/77915256 Take note of the critical warning about performance though
wich one?
Also not working for me. Using WSL windows. Quick start guide is useless
Three steps helped me:
AutoGPT/autogpts/MyBestAgent/setup
:
# ENV_PATH=$(poetry env info --path)
# if [ -d "$ENV_PATH" ]; then
# rm -rf $ENV_PATH
# echo "Removed the poetry environment at $ENV_PATH."
# else
# echo "No poetry environment found."
# fi
Ahh ok, I was using python 3.10. Didn't realise you had to use 3.12. Will try this again soon.
Update: typo above, you need to use python 3.11
Three steps helped me:
- Checkout tag 0.5.1
- Setup venv with python version 3.11 not 3.12!
- After agent creation I had to comment out command that was removing venv env in the agent setup file
AutoGPT/autogpts/MyBestAgent/setup
:# ENV_PATH=$(poetry env info --path) # if [ -d "$ENV_PATH" ]; then # rm -rf $ENV_PATH # echo "Removed the poetry environment at $ENV_PATH." # else # echo "No poetry environment found." # fi
not work for me , so is this a bug only in WSL?
Ahh ok, I was using python 3.10. Didn't realise you had to use 3.12. Will try this again soon
3.11 ☝️
Three steps helped me:
- Checkout tag 0.5.1
- Setup venv with python version 3.11 not 3.12!
- After agent creation I had to comment out command that was removing venv env in the agent setup file
AutoGPT/autogpts/MyBestAgent/setup
:# ENV_PATH=$(poetry env info --path) # if [ -d "$ENV_PATH" ]; then # rm -rf $ENV_PATH # echo "Removed the poetry environment at $ENV_PATH." # else # echo "No poetry environment found." # fi
This can work, switch to tag autogpt-v0.5.1. python =3.11.x,it can work..... why in the master branch ,it cannot work, variety of errors, the offical team can solve it or make a decription for all
Thanks for bringing up the issue, we're investigating it.
Using poetry shell
and then running agents, or switching to python 3.11 (poetry env use python3.11
) might help.
I couldn't pinpoint a single problem;
multidict
when using Python 3.12)Hi guys,
Initially I faced the same problem with the OP and after changing to python3.11 it throws error with the 'click' module even though it's installed. Any help is appreciated!
(base) ➜ AutoGPT git:(master) ✗ ./run agent start test_agent
Requirement already satisfied: click in /opt/homebrew/lib/python3.11/site-packages (8.1.7)
Traceback (most recent call last):
File "/Users/justcuriousan/GitHub/AutoGPT/cli.py", line 8, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/justcuriousan/GitHub/AutoGPT/cli.py", line 13, in
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.
This issue was closed automatically because it has been stale for 10 days with no activity.
Hi Team,
I have an issue when running the command in your documentation: ./run agent start tonyagi ⌛ Running setup for agent 'tonyagi'... Path /home/ec2-user/projects/AutoGPT/agents/benchmark for agbenchmark does not exist Removed the poetry environment at /home/ec2-user/projects/AutoGPT/venv. Path /home/ec2-user/projects/AutoGPT/agents/benchmark for agbenchmark does not exist
[Errno 2] No such file or directory: 'python' Setup completed successfully.
⌛ (Re)starting benchmark server... Path /home/ec2-user/projects/AutoGPT/agents/benchmark for agbenchmark does not exist
[Errno 2] No such file or directory: 'python' Traceback (most recent call last): File "/home/ec2-user/projects/AutoGPT/cli.py", line 501, in
cli()
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 1157, in call
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 1078, in main
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 1688, in invoke
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 1688, in invoke
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 1434, in invoke
File "/home/ec2-user/projects/AutoGPT/venv/lib64/python3.9/site-packages/click/core.py", line 783, in invoke
File "/home/ec2-user/projects/AutoGPT/cli.py", line 152, in start
wait_until_conn_ready(8080)
File "/home/ec2-user/projects/AutoGPT/cli.py", line 497, in wait_until_conn_ready
raise TimeoutError(f"Port {port} did not open within {timeout} seconds")
TimeoutError: Port 8080 did not open within 30 seconds
My python command is python3 Can you help fix it please?