Ask coding questions

← Back to all posts
How to fix this?
N1njaML

How do I fix this? They keep saying “No such file: main.PY relp process died unexpectedly: exit status2

Answered by VulcanWM [earned 5 cycles]
View Answer
Voters
N1njaML
Comments
hotnewtop
VulcanWM

Replit only runs the main.py
You don’t have one so that’s why it shows that error

N1njaML

@VulcanWM I have Main.py

bendev9

@N1njaML, it has to be in the root. So outside the Commands folder

N1njaML

@bendev9 but I can’t add the .env file outside the folder

VulcanWM

to do env use the padlock button in the sidebar @N1njaML

N1njaML

@VulcanWM ok thanks

VulcanWM