anaconda3 -cp1251.py:' charmap'编解码器可以在位置1130中解码字节0x98:字符映射到< undefined>
我正在尝试从unignts.txt安装带有pip的pip内部的pip pip pip pip的包装,并偶然发现了此消息。
> File "C:\Users\username\anaconda3\lib\encodings\cp1251.py", line 23, in decode
> return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position
> 1130: character maps to <undefined>
此外,此消息在尝试更新PIP时会爆发。
I'm trying to install packages from requirements.txt with PIP inside a PIP created environment for YOLOv5 and stumble upon this message.
> File "C:\Users\username\anaconda3\lib\encodings\cp1251.py", line 23, in decode
> return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position
> 1130: character maps to <undefined>
Also this message erupts when trying to update PIP.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
拼命删除cp1251.py文件,我解决了问题。
有人可以澄清为什么奏效吗?
Desperately deleting cp1251.py file in the directory I solved the problem.
Can somebody clarify why this worked ?