C:\Users\dxl.DXL>python
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x0000202c (most recent call first):
这种情况可能是因为你的系统内有多个python版本,运行命令时执行了没有正确安装的路径版本。建议:卸载掉系统中所有python版本重新安装,并将其添加到环境变量中。
尝试过重新在系统设置中加入python相关的path么
环境变量重新配置,或者你控制台用全路径去执行python
看看你环境变量里面有没有PYTHONPATH,PYTHON HOME等,更新或删掉