1、提示:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 542: ordinal not in range(128)

   原因:原因就是Python的str默认是ascii编码,和unicode编码冲突

   解决方法:

  import sys
  reload(sys)
  sys.setdefaultencoding('utf8')

2、

 

相关文章:

  • 2021-08-14
  • 2022-01-05
  • 2021-07-02
  • 2021-09-29
  • 2021-12-21
  • 2021-12-03
  • 2022-12-23
  • 2021-10-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-06-20
  • 2021-11-16
  • 2021-09-30
  • 2021-07-31
相关资源
相似解决方案