python使用logging报错ValueError: Unrecognised argument(s): encoding

1,447 阅读1分钟
  • python3.9前的版本不支持设置编码形式,把代码中的utf-8去掉即可