Replit run button

The ‘run’ button in replit isn’t working for my students. I have it configured correctly (python3 <name_of_file> ), so I recreated rec’g the assignment via my "student’ account.

As the repo is loading into replit, it detects Bash as the language. After it’s completely loaded, some error message comes up where it asks to reload, I do that, and the ‘python’ icon is now above the replit. But, the run key is configured as bash. I’ve recreated this at least 5 times, each time the same.

The .replit file is in the replit repo, and it has the correct run command and language. But it will only work if I type “python3 src/exercise.py” at the console prompt, and then hit run. Because the run button configured itself as bash.

Help please??

Ayo Bianca:

Might you share the exact content of your .replit file?

Yes. The file is on root. It works half the time.

language = "python3"
run = "python3 src/exercise.py"

here you go :slight_smile:

hmmm…

What is the language of the repo in question? (Is its .gitignore file, for instance, the python-flavored one?)

© 2017 GitHub, Inc.
with by
GitHub Education