I had the same problem when I accidentally typed " print program.py" instead of " python program.py". An error message appears from a Windows command prompt called print . Those who suggested restarting the command line probably made the same typo without noticing, and corrected it in their new command line.
source share