Discuss / 编程 / 大神求解 'PseudoOutputFile' object has no attribute 'buffer'

大神求解 'PseudoOutputFile' object has no attribute 'buffer'

Traceback (most recent call last):

  File "E:\下载\analyses_friend\analyses_friend\analyse - 副本.py", line 17, in <module>

    sys.stdout=io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')

AttributeError: 'PseudoOutputFile' object has no attribute 'buffer'

为什么会出现这个问题,该怎么解决?

求大神指点


  • 1

Reply