解决Python报错UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 658: illegal multibyte
win10安装python3.8.8 命令行运行python报错:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x9a in position 220: illegal multibyte sequence
修改前: 修改文件:C:/ProgramData/Anaconda3/Lib/site-packages/pyreadline/lineeditor/history.py 修改位置:(添加encoding='utf-8') 修改后:
解决Python报错UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 658: illegal multibyte最先出现在Python成神之路。
共有 0 条评论