Unable to start an agent. cli.py errors out at cli.py , FileNotFoundError: [Errno 2] No such file or directory: './setup'
⚠️ Search for existing issues first ⚠️
- [x] I have searched the existing issues, and there is no existing issue for my problem
Which Operating System are you using?
Windows
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.
Hi, I have setup autogpt on windows 11, and have successfully ./run setup
- githib login and token setup
- able to create agent
- able to add agent to arena
but when i try to start agent, I got file not found error from cli.py --> looking for ./setup
the repo was forked and cloned 6 Jan, I don't see setup but I only see setup.sh and has already convert dos2unix on it
Can someone help me please
Upload Activity Log Content
No response
Upload Error Log Content
No response
I have the same situation.
Make sure to run dos2unix autogpts/<agent name>/setup when your pwd is at the root of the installation.
You will also need to run dos2unix autogpts/<agent name>/run_benchmark and dos2unix autogpts/<agent name>/run
Make sure to run
dos2unix autogpts/<agent name>/setupwhen yourpwdis at the root of the installation.You will also need to run
dos2unix autogpts/<agent name>/run_benchmarkanddos2unix autogpts/<agent name>/run
This will need to be added into the quickstart guide here
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.
I was getting the same issue, but I fixed it with the following changes.
In cli.py, I changed the 3 command lines that are using the subprocess.Popen() like
setup_process = subprocess.Popen(["./setup"], cwd=agent_dir)
by the following
setup_process = subprocess.Popen(["bash ./setup"], shell=True, cwd=agent_dir)
This tells subprocess.Popen to run the command bash /path/to/setup in a shell, which should execute your setup script.
Now it is working fine.
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 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.