Python running error: "cp949 code can't decode byte 0xec in position 3"

I did read this post.
This one is modifying a code, which mine is that running python just doesn’t work.
Also, I looked up site.py and found enumerate(f), but I had no idea how to fix it.

I uninstalled 3.7 python and installed a new version(3.9, 3.10, and 3.11, I’ve tried all of these), and now I have this problem.