解决方法:
打开
c:\program files\python36\lib\site-packages\pip\compat_init_.py 约75行
return s.decode('utf_8') 改为return s.decode('cp936')
cp936就是gbk
解决方法:
打开
c:\program files\python36\lib\site-packages\pip\compat_init_.py 约75行
return s.decode('utf_8') 改为return s.decode('cp936')
cp936就是gbk
本文标题:Win10上Python3通过pip安装时出现UnicodeDe
本文链接:https://www.haomeiwen.com/subject/ytpmuxtx.html
网友评论