i need to help i can’t run it
thank’s
set the language to “bash”
put this in the run command: python main.py
The run command runs the command in the input box in the language specified. So this would run the command in bash, running the python file.
you dont have a app.py?
run = "python your_script.py"
Open the shell and type in the : python main.py
As @zaklina says, it should be python main.py
thank you for your help but what I did not understand is that the code passes normal on spyder but on Replit no
Can you link to your replit please?
of course
It’s not working, because you aren’t running anything. When you hit “run” it doesn’t run main.py
Replace Line 6 with Line 1 here. Leave just one run =
Follow these instructions:
It should look like this in the end:
entrypoint = "main.py"
modules = ["python-3.10:v18-20230807-322e88b"]
hidden = [".pythonlibs"]
run = "python3 main.py"
[nix]
channel = "stable-23_05"
[deployment]
run = ["sh", "-c", "run command"]
deploymentTarget = "cloudrun"
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.