anaconda3 -cp1251.py:' charmap'编解码器可以在位置1130中解码字节0x98:字符映射到< undefined>

发布于 2025-01-31 17:02:49 字数 396 浏览 1 评论 0原文

我正在尝试从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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃不饱 2025-02-07 17:02:49

拼命删除cp1251.py文件,我解决了问题。

有人可以澄清为什么奏效吗?

Desperately deleting cp1251.py file in the directory I solved the problem.

Can somebody clarify why this worked ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文