cyberdog2 pip报错,编码错误

2024-01-09 23:57:58

cyberdog2 pip报错,编码错误

我一整个大无语,小米,你长点心吧,修好的bug不说一下,哪里都不说是吧,开源开的什么

无语

mi@mi-desktop:~$ pip install
Defaulting to user installation because normal site-packages is not writeable
ERROR: Exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/cli/base_command.py”, line 189, in _main
status = self.run(options, args)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/cli/req_command.py”, line 178, in wrapper
return func(self, options, args)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/commands/install.py”, line 267, in run
session = self.get_default_session(options)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/cli/req_command.py”, line 76, in get_default_session
self._session = self.enter_context(self._build_session(options))
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/cli/req_command.py”, line 93, in _build_session
index_urls=self._get_index_urls(options),
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/network/session.py”, line 245, in init
self.headers[“User-Agent”] = user_agent()
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_internal/network/session.py”, line 132, in user_agent
zip([“name”, “version”, “id”], distro.linux_distribution()),
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 125, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 681, in linux_distribution
self.version(),
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 742, in version
self.distro_release_attr(‘version_id’),
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 912, in distro_release_attr
return self._distro_release_info.get(attribute, ‘’)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 556, in get
ret = obj.dict[self._fname] = self._f(obj)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 1144, in _distro_release_info
distro_info = self._parse_distro_release_file(filepath)
File “/usr/local/lib/python3.6/dist-packages/pip-21.0-py3.6.egg/pip/_vendor/distro.py”, line 1169, in _parse_distro_release_file
return self._parse_distro_release_content(fp.readline())
File “/usr/lib/python3.6/codecs.py”, line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 458: invalid start byte

在这里插入图片描述

点我看解决办法https://github.com/MiRoboticsLab/cyberdog_ws/issues/15

文章来源:https://blog.csdn.net/weixin_51681760/article/details/135429607
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。