Data Analysis with Python Projects - Mean-Variance-Standard Deviation Calculator

Hi. …having a bit of an issue running my code on Replit. Selected the ‘Use Run Command’ on the .replit window but still when I run the main.py file/mean_var_std.py files it gives this error on the console: “sh: line 1: Use: command not found”. Not sure how to troubleshoot this.

Thanks.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge: Data Analysis with Python Projects - Mean-Variance-Standard Deviation Calculator

Link to the challenge:

In the .replit file add this line:

run = "python3 main.py"

You may need to show hidden files

Screenshot 2023-10-02 073220

Hi, thank you for your response.

Your suggestion helped with addressing the error. But now, after running my code, no results show on the console as it usually does…

Thank you for assistance. :slightly_smiling_face:

Please link to your replit

I get this error when I try to run it:

unable to read .replit:
unable to decode .replit: toml: line 6 (last key "run"): Key 'run' has already been defined.

Delete this line from your .replit

run = "Use run command"

Thank you. Console now showing results after running the code. Much appreciated.

1 Like

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