I installed several versions of python before, but I uninstalled them all because they were too messy. Now after installing python3.4.3,
it works fine when typing python in cmd
But an error is reported when running an empty file in pycharm
Error message:
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
Current thread 0x000033c4 (most recent call first):
Set your python interpreter path in the project structure in pycharm. If it still doesn't work, add environment variables to the running of python. If it doesn’t work, you can try to install this module through the install repo in pycharm
Install it once with administrator rights, and then try configuring the environment variables