gpt-engineer-org / gpt-engineer

Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app
MIT License
51.99k stars 6.77k forks source link

The execution code listed in the final stage does not seem to be suitable for Windows system operation #314

Closed yang-lamb closed 1 year ago

Unessc0 commented 1 year ago

change export with set and make sure to delete spaces before and after '='

yang-lamb commented 1 year ago

I'm a complete newbie to the point of not knowing how to do it, it always fails to execute code automatically, here is the original text of one task: Do you want to execute this code?

sudo apt-get update sudo apt-get install python3 python3-pip

pip3 install pygame

sudo apt-get install nginx

sudo nano /etc/nginx/sites-available/snakegame

server { listen 80; server_name your_domain;

location / {
    root /path/to/codebase;
    index index.html;
}

}

sudo ln -s /etc/nginx/sites-available/snakegame /etc/nginx/sites-enabled/ sudo systemctl restart nginx

cd /path/to/codebase python3 game.py

If yes, press enter. Otherwise, type "no"

and when I press enter,this is the result: Executing the code...

Note: If it does not work as expected, consider running the code in another way than above.

You can press ctrl+c once to stop the execution.

'bash' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

Then this mission is over

AntonOsika commented 1 year ago

Known issue