.\python.exe -m test.pythoninfo
========================== Starting Command Output ===========================
"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\6b4b980f-daec-4173-8a8e-2525de58013c.cmd""
WARN: Could not find the platform standard library directory! The Python 'home' directory was set to 'D:\\a\\1\\b\\layout-embed-amd64', is this correct?
ERROR: collect_windows() failed
Traceback (most recent call last):
File "test\pythoninfo.py", line 1093, in collect_info
File "test\pythoninfo.py", line 951, in collect_windows
File "subprocess.py", line 1084, in __init__
LookupError: unknown encoding: oem
Collection failed: exit with error
Bug report
Bug description:
From the logs:
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response