小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
rosdepc update常见错误及解决方案
-
-
@1530663414你好,请问这个是什么问题,运行rosdepc update 出现
-
请问下这个问题可能是什么原因,全网好像没看到过我这种错误 -
-
@2624602124 你的问题最后解决了吗
-
@497505919 老哥,你的问题解决了吗,我也遇到了这个问题
-
大佬你好,我在使用resdepc update中报错如下:
kip end-of-life distro "groovy"
Add distro "humble"ERROR: Rosdep experienced an error: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'raspbian', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'conda', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora-asahi', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdeprosdep version: 0.23.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 450, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 459, in _no_args_handler
return command_handlerscommand
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 676, in command_update
quiet=options.quiet)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 517, in update_sources_list
rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
File "/usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py", line 148, in get_gbprepo_as_rosdep_data
ctx = create_default_installer_context()
File "/usr/lib/python2.7/dist-packages/rosdep2/init.py", line 91, in create_default_installer_context
m.register_platforms(context)
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/arch.py", line 53, in register_platforms
register_manjaro(context)
File "/usr/lib/python2.7/dist-packages/rosdep2/platforms/arch.py", line 58, in register_manjaro
(os_name, os_version) = context.get_os_name_and_version()
File "/usr/lib/python2.7/dist-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
os_name = self.os_detect.get_name()
File "/usr/lib/python2.7/dist-packages/rospkg/os_detect.py", line 638, in get_name
self.detect_os()
File "/usr/lib/python2.7/dist-packages/rospkg/os_detect.py", line 608, in detect_os
raise OsNotDetected("Could not detect OS, tried %s" % attempted)
OsNotDetected: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'raspbian', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'conda', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora-asahi', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']目前已经尝试了换源、本地编译等方法,但是都不能解决,并且尝试了rosdepc update --rosdistro=melodic仍然不能正常运行,我是ubuntu 1804的,应该是指令没有问题的
-
@2269810364 请问大佬有什么解决方法没有
-
大佬怎么解决这个问题啊@小鱼 -
-
@3360331610 大佬请问解决了吗
-
@2269810364 解决了吗
-
@490872561 我也是这个问题,现在问题解决了吗兄弟?
-
@小鱼那应该怎么解决呢?我是24版
-