Mean-Variance-Standard Deviation Calculator

i need to help i can’t run it

thank’s

Configuring the RUN button

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.

1 Like

thank you for your help but it’s always the same thing I can’t execute the function


you dont have a app.py?

run = "python  your_script.py"

Open the shell and type in the : python main.py

1 Like

As @zaklina says, it should be python main.py

1 Like

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?

1 Like

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 =

1 Like

Follow these instructions:

https://forum.freecodecamp.org/t/scientific-computing-with-python-projects-arithmetic-formatter/644338/2

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"
1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.