I’m having this same issue when trying to complete the lesson. I noticed the terminal shell (top right corner in the terminal) is listed as “1:powershell” on mine instead of “1:bash” like Mosh’s. Unsure if it’s related, if you find a resolution please post here!
I think that this may be the issue. Mine says 1: Python. If you click the dropdown you can change the default terminal. I would try changing that and see if it helps