如上图,我们看到log文件,是乱码的。如何修改过来呢,不然看着乱码真是不爽。 pycharm 进入setting,找到File Encodings 将编码全部设置gbk apply 点ok ,中文出现了