THUDM / AgentBench

A Comprehensive Benchmark to Evaluate LLMs as Agents (ICLR'24)
https://llmbench.ai
Apache License 2.0
2.03k stars 138 forks source link

Error with Command “python -m src.start_task -a” #84

Closed ericzdzhang closed 6 months ago

ericzdzhang commented 7 months ago

issue

I have been testing on a Mac system and have confirmed that there are no issues with invoking ChatGPT. However, I encountered an error while running "python -m src.start_task -a". Could you please help me investigate the possible cause of this problem?

zhc7 commented 7 months ago

Hi @ericzdzhang , have you installed docker?

ericzdzhang commented 7 months ago

Yes,I Install docker on the Mac OS. It seems due to the communication error in docker.

---- Replied Message ---- | From | @.> | | Date | 12/12/2023 15:39 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [THUDM/AgentBench] Error with Command “python -m src.start_task -a” (Issue #84) |

Hi @ericzdzhang , have you installed docker?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ZiyueWang25 commented 7 months ago

I have met similar issue in mac. The solution is in https://stackoverflow.com/questions/69955686/why-cant-i-run-the-project-on-port-5000. After I follow it, the issue is gone.

zhc7 commented 6 months ago

@ZiyueWang25 Thanks!

petrgazarov commented 2 months ago

For anyone still seeing this error after making port 5000 available: ensure file /var/run/docker.sock exists because this is what the code uses to connect to the Docker Daemon. My file was in a different location, so I had to create a symlink:

sudo ln -s $HOME/.docker/run/docker.sock /var/run/docker.sock