5

如果我使用管道运行 python 脚本,则其中的 sys.stdout.encoding 变为 None 并使其崩溃。我怎样才能在不修改脚本的情况下摆脱它?由于某种原因,我无法修改它。

4

0 回答 0