鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    ubuntu18.04一键安装ros/ros2出现OsNotDetected: Could not detect OS

    已定时 已固定 已锁定 已移动
    一键安装
    ros2 osnotdetected
    1
    1
    243
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • S
      shwwgrshbd
      最后由 编辑

      wget http://fishros.com/install -O fishros && . fishros 然后选择1安装ros/ros2,最后提示请输入[]内的数字以选择:1
      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_install_ros.py -O /tmp/fishinstall/tools/tool_install_ros.py --no-check-certificate]
      [/][0.00s] --2024-12-05 10:49:12-- http://mirror.fishros.com/install/tools/tool[][0.04s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.16[|][0.04s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80..[-][0.04s] CMD Result:success

      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_rosenv.py -O /tmp/fishinstall/tools/tool_config_rosenv.py --no-check-certificate]
      [/][0.00s] --2024-12-05 10:49:12-- http://mirror.fishros.com/install/tools/tool[][0.02s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.16[|][0.02s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80..[-][0.02s] CMD Result:success

      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_system_source.py -O /tmp/fishinstall/tools/tool_config_system_source.py --no-check-certificate]
      [/][0.00s] --2024-12-05 10:49:13-- http://mirror.fishros.com/install/tools/tool[][0.02s] 正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.16[|][0.02s] 正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80..[-][0.02s] CMD Result:success

      欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
      欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..

      检测到程序发生异常退出,请打开:https://fishros.org.cn/forum 携带如下内容进行反馈

      标题:使用一键安装过程中遇到程序崩溃

      Traceback (most recent call last):
      File "/tmp/fishinstall/install.py", line 134, in <module>
      main()
      File "/tmp/fishinstall/install.py", line 123, in main
      run_tool_file(tools[code]['tool'].replace("/","."))
      File "/tmp/fishinstall/tools/base.py", line 1476, in run_tool_file
      if tool.run()==False: return False
      File "/tmp/fishinstall/tools/tool_install_ros.py", line 413, in run
      self.install_ros()
      File "/tmp/fishinstall/tools/tool_install_ros.py", line 398, in install_ros
      if not self.support_install(): return False
      File "/tmp/fishinstall/tools/tool_install_ros.py", line 300, in support_install
      if (osversion.get_codename() not in ros_dist_dic.keys()) and (osversion.get_codename() not in ros2_dist_dic.keys()):
      File "/tmp/fishinstall/tools/base.py", line 691, in get_codename
      self.detect_os()
      File "/tmp/fishinstall/tools/base.py", line 651, in detect_os
      raise OsNotDetected("Could not detect OS, tried %s" % attempted)
      tools.base.GetOsVersion.<locals>.OsNotDetected: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']

      本次运行详细日志文件已保存至 /tmp/fishros_install.log

      1 条回复 最后回复 回复 引用 0
      • 第一个帖子
        最后一个帖子
      皖ICP备16016415号-7
      Powered by NodeBB | 鱼香ROS