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

    Ubuntu20.04 一键安装失败

    已定时 已固定 已锁定 已移动 已解决
    一键安装
    一键安装 ubuntu20.04
    2
    6
    1.0k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • WDW
      WD
      最后由 编辑

      运行一键安装出现问题:

      --2022-07-06 09:27:39--  http://fishros.com/install
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
      位置:http://fishros.com/install/ [跟随至新的 URL]
      --2022-07-06 09:27:39--  http://fishros.com/install/
      再次使用存在的到 fishros.com:80 的连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 543 [application/octet-stream]
      正在保存至: “fishros”
      
      fishros             100%[===================>]     543  --.-KB/s    用时 0s    
      
      2022-07-06 09:27:39 (34.2 MB/s) - 已保存 “fishros” [543/543])
      
      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树       
      正在读取状态信息... 完成       
      python3-distro 已经是最新版 (1.4.0-1)。
      python3-yaml 已经是最新版 (5.3.1-1ubuntu0.1)。
      下列软件包是自动安装的并且现在不需要了:
        libceres1 libgoogle-glog0v5
      使用'sudo apt autoremove'来卸载它(它们)。
      升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 40 个软件包未被升级。
      --2022-07-06 09:27:40--  http://fishros.com/install/install1s/tools/base.py
      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 41998 (41K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/base.py”
      
      /tmp/fishinstall/to 100%[===================>]  41.01K  --.-KB/s    用时 0.06s 
      
      2022-07-06 09:27:40 (718 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [41998/41998])
      
      WARN:No Yaml Module!
      Traceback (most recent call last):
        File "/tmp/fishinstall/install.py", line 88, in <module>
          main()
        File "/tmp/fishinstall/install.py", line 29, in main
          from tools.base import CmdTask,FileUtils,PrintUtils,ChooseTask
        File "/tmp/fishinstall/tools/base.py", line 774, in <module>
          osversion = GetOsVersion()
        File "/tmp/fishinstall/tools/base.py", line 105, in GetOsVersion
          import distro
      ModuleNotFoundError: No module named 'distro'
      
      小鱼小 1 条回复 最后回复 回复 引用 0
      • 小鱼小
        小鱼 技术大佬 @WD
        最后由 编辑

        @WD 你试试这个sudo apt install python3-distro

        你是说已经用pip装过了吗,试试用pip3,,尽量提供所有的帮助判断的信息。

        @小鱼 在 提问前必看!一定要看!必须看一下! 中说:

        如果是程序,版本信息,系统信息,ROS版本,你的前后操作等等都是帮助快速定位的

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

        WDW 2 条回复 最后回复 回复 引用 0
        • WDW
          WD @小鱼
          最后由 编辑

          @小鱼 pip install distro 和 pip3 install distro都运行过了,还是这个问题。

          wonderlost@Rescuer14ISK:~$ pip3 install distro
          Defaulting to user installation because normal site-packages is not writeable
          Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
          Requirement already satisfied: distro in ./.local/lib/python3.9/site-packages (1.7.0)
          wonderlost@Rescuer14ISK:~$ wget http://fishros.com/install -O fishros && . fishros 
          --2022-07-06 09:55:02--  http://fishros.com/install
          正在解析主机 fishros.com (fishros.com)... 139.9.131.171
          正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
          已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
          位置:http://fishros.com/install/ [跟随至新的 URL]
          --2022-07-06 09:55:02--  http://fishros.com/install/
          再次使用存在的到 fishros.com:80 的连接。
          已发出 HTTP 请求,正在等待回应... 200 OK
          长度: 543 [application/octet-stream]
          正在保存至: “fishros”
          
          fishros             100%[===================>]     543  --.-KB/s    用时 0s    
          
          2022-07-06 09:55:02 (24.8 MB/s) - 已保存 “fishros” [543/543])
          
          [sudo] wonderlost 的密码: 
          正在读取软件包列表... 完成
          正在分析软件包的依赖关系树       
          正在读取状态信息... 完成       
          python3-distro 已经是最新版 (1.4.0-1)。
          python3-yaml 已经是最新版 (5.3.1-1ubuntu0.1)。
          下列软件包是自动安装的并且现在不需要了:
            libceres1 libgoogle-glog0v5
          使用'sudo apt autoremove'来卸载它(它们)。
          升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 40 个软件包未被升级。
          --2022-07-06 09:55:07--  http://fishros.com/install/install1s/tools/base.py
          正在解析主机 fishros.com (fishros.com)... 139.9.131.171
          正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
          已发出 HTTP 请求,正在等待回应... 200 OK
          长度: 41998 (41K) [application/octet-stream]
          正在保存至: “/tmp/fishinstall/tools/base.py”
          
          /tmp/fishinstall/to 100%[===================>]  41.01K  --.-KB/s    用时 0.06s 
          
          2022-07-06 09:55:08 (648 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [41998/41998])
          
          WARN:No Yaml Module!
          Traceback (most recent call last):
            File "/tmp/fishinstall/install.py", line 88, in <module>
              main()
            File "/tmp/fishinstall/install.py", line 29, in main
              from tools.base import CmdTask,FileUtils,PrintUtils,ChooseTask
            File "/tmp/fishinstall/tools/base.py", line 774, in <module>
              osversion = GetOsVersion()
            File "/tmp/fishinstall/tools/base.py", line 105, in GetOsVersion
              import distro
          
          
          小鱼小 1 条回复 最后回复 回复 引用 0
          • WDW
            WD @小鱼
            最后由 编辑

            @小鱼 这个系统已经安装过了

            sudo apt install python3-distro
            正在读取软件包列表... 完成
            正在分析软件包的依赖关系树       
            正在读取状态信息... 完成       
            python3-distro 已经是最新版 (1.4.0-1)。
            下列软件包是自动安装的并且现在不需要了:
              libceres1 libgoogle-glog0v5
            使用'sudo apt autoremove'来卸载它(它们)。
            升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 40 个软件包未被升级。
            
            
            1 条回复 最后回复 回复 引用 0
            • 小鱼小
              小鱼 技术大佬 @WD
              最后由 编辑

              @WD 把原来的卸载了,然后加sudo pip安转,应该是目录不对

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

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

                @小鱼
                是这个问题,可以安装了,谢谢

                1 条回复 最后回复 回复 引用 0
                • T Tonywang20030408 在 中 引用了 这个主题
                • 小伊小 小伊 将这个主题转为问答主题,在
                • 小伊小 小伊 将这个主题标记为已解决,在
                • 第一个帖子
                  最后一个帖子
                皖ICP备16016415号-7
                Powered by NodeBB | 鱼香ROS