加上这句话
import sys
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf8')
https://blog.csdn.net/lyxuefeng/article/details/79776751
加上这句话
import sys
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf8')
https://blog.csdn.net/lyxuefeng/article/details/79776751