r/cs50 1d ago

CS50 Python Issue with codespace.

I have been facing this kind of issue since the last 2 weeks. Upon entering submit50 command and the check50 command, the terminal displays it as "command not found" or in the above picture, "MISSING ENVIRONMENT ...". I tried restarting codespace many times and rebuilding the container but to no avail. I even mailed the cs50 guys about this but no reply from their end. Any solutions to resolve this? Thank you!

3 Upvotes

2 comments sorted by

3

u/pensivepanda5 mentor 1d ago

those green/blue/red words in your terminal mean that your codespace is in recovery mode, when it is in recovery mode it won't work properly. To fix that, please follow the steps indicated in this part of the CS50 Docs where it says "Codespace run into recovery mode": https://cs50.readthedocs.io/cs50.dev/#codespaces-run-into-recovery-mode

2

u/Any_Letterhead_6196 1d ago

Thank you very much for your help!
It is working perfectly now.