消息 [309249]
Here's a way to trigger this error that's unrelated to the PATH environment variable:
>>> subprocess.call('python', executable=r'C:\Program Files\Python36\.\python.exe')
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
[...]
Apparently Windows doesn't normalize the process image path if it uses only backslash as the path separator. It normalizes it if at least one backslash is replaced with a slash. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-12-30 20:10:13 | eryksun | 修改 | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Ray Donnelly |
| 2017-12-30 20:10:13 | eryksun | 修改 | messageid: <1514664613.26.0.213398074469.issue32457@psf.upfronthosting.co.za> |
| 2017-12-30 20:10:13 | eryksun | 链接 | issue32457 messages |
| 2017-12-30 20:10:13 | eryksun | 创建 | |
|