Why can't I run this Python file?

0

I very recently installed Python 3 on my PC and I'm trying to run this file, but I'm getting an error message:

C:\Users\Anoof\Desktop\Python docs>python myexample.py
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00000570 (most recent call first):

I'm on Windows 10, using Python 3.7. Any idea why this could be happening?

python
windows
asked on Stack Overflow May 29, 2020 by s0ap

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0