运行Python报错:Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
处理步骤:
1.Files >>>Setting >>>Project >>>Python Interpreter >>>Add Interpreter
2.选择 System Interpreter >>>提交已安装的Python路径;点击OK保存;
3.选择已经设置好的Interpreter;Apply 即可。
4.重新运行Python。
参考:https://woj.app/4365.html
- ModuleNotFoundError encodings Python module namedmodulenotfounderror encodings python module modulenotfounderror module named 39 modulenotfounderror watchdog module named modulenotfounderror module kornia named modulenotfounderror packaging module named modulenotfounderror module pandas named modulenotfounderror module infer named modulenotfounderror module named torch modulenotfounderror module lanms named modulenotfounderror module qrcode named