Ask coding questions

← Back to all posts
How can i fix this error
Zumos (0)

How can i fix this error No such file: main.py
repl process died unexpectedly: exit status 2

Voters
Zumos (0)
Comments
hotnewtop
19ecal (228)

You've made a folder named .replit it needs to be a file with something like
run="python main.py" in it to run main.py

2plus2is4hoi (92)

remove main.py from the lol.py folder. OR make a file named
'.replit'
and inside put run="lol.py/main.py"