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

    安装失败 报错:AttributeError: module 'tools.tool_install_ros' has no attribute 'Tool'

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

      安装失败 报错:AttributeError: module 'tools.tool_install_ros' has no attribute 'Tool'
      c2c7a0af-8e86-4a72-8073-c65831565244-图片.png 大佬看看怎么回事

      1 条回复 最后回复 回复 引用 0
      • 14845479351
        🌈
        最后由 编辑

        我也出现了一样的问题 等大佬解决 明明之前还不会的

        1 条回复 最后回复 回复 引用 0
        • 1255355001
          125535500
          最后由 编辑

          我也是这个问题。

          1 条回复 最后回复 回复 引用 0
          • 1
            1412644878
            最后由 编辑

            一样的问题,求解决!!!

            小鱼小 1 条回复 最后回复 回复 引用 0
            • 小鱼小
              小鱼 技术大佬 @1412644878
              最后由 编辑

              @1412644878 还有吗,最近准备升级一波了

              新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

              J 1 条回复 最后回复 回复 引用 0
              • J
                JayJoker @小鱼
                最后由 编辑

                @小鱼 有的 我现在还出现这个情况

                Type the number in [] to choose a function:1
                Run CMD Task:[wget https://raw.githubusercontent.com/fishros/install/master/tools/tool_install_ros.py -O /tmp/fishinstall/tools/tool_install_ros.py --no-check-certificate]
                [|][0.01s] Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refuse[-][0.01s] CMD Result:code:4                                                                                        .
                
                Run CMD Task:[wget https://raw.githubusercontent.com/fishros/install/master/tools/tool_config_rosenv.py -O /tmp/fishinstall/tools/tool_config_rosenv.py --no-check-certificate]
                [|][0.00s] Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refuse[-][0.00s] CMD Result:code:4                                                                                        .
                
                Run CMD Task:[wget https://raw.githubusercontent.com/fishros/install/master/tools/tool_config_system_source.py -O /tmp/fishinstall/tools/tool_config_system_source.py --no-check-certificate]
                [/][0.00s] --2024-09-08 18:24:40--  https://raw.githubusercontent.com/fishros/install/master/tools/tool_config_system_so[|][0.01s] Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refuse[-][0.01s] CMD Result:code:4                                                                                        .
                
                
                检测到程序发生异常退出,请打开:https://fishros.org.cn/forum 携带如下内容进行反馈
                
                
                标题:使用一键安装过程中遇到程序崩溃
                

                Traceback (most recent call last):
                File "/tmp/fishinstall/install.py", line 133, in <module>
                main()
                File "/tmp/fishinstall/install.py", line 122, in main
                run_tool_file(tools[code]['tool'].replace("/","."))
                File "/tmp/fishinstall/tools/base.py", line 1473, in run_tool_file
                tool = importlib.import_module(file.replace(".py","")).Tool()
                AttributeError: module 'tools.tool_install_ros' has no attribute 'Tool'

                本次运行详细日志文件已保存至 /tmp/fishros_install.log
                
                检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出
                ^Croot@a0788b5e3633:/# ^C
                root@a0788b5e3633:/# ^C
                root@a0788b5e3633:/# pip3 install run_tool_file
                ERROR: Could not find a version that satisfies the requirement run_tool_file (from versions: none)
                ERROR: No matching distribution found for run_tool_file
                
                小鱼小 1 条回复 最后回复 回复 引用 0
                • 小鱼小
                  小鱼 技术大佬 @JayJoker
                  最后由 编辑

                  @JayJoker 有代理吗,咋给你整到国外去了

                  新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

                  1 条回复 最后回复 回复 引用 0
                  • 1
                    1529554832
                    最后由 编辑

                    开了代理的原因吧

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