Ronald Oussoren added the comment:
@stephen: Lib/encoding/aliases.py contains aliases for a (largish) number of
encoding names, including both "cp" and "" for most windows code pages.
For code page 874 only the name "cp874" can be used and not "874", which
apparently causes
Steven D'Aprano added the comment:
Please don't post screenshots of text, they make it difficult for the blind and
visually impaired to contribute. Instead, please copy and paste the error
message into the body of your bug report. (Which I see you have done, which
makes the screenshot
New submission from Prawin Phichitnitikorn :
This Error "
Current thread 0x238c (most recent call first): Fatal Python error:
Py_Initialize: can’t initialize sys standard streams LookupError: unknown
encoding: 874"
is cause by mapping of 874 encodling is missing in encodings\aliases.py