<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[统信UOS系统安装ROS2失败。]]></title><description><![CDATA[<p dir="auto">背景：在统信UOS系统上安装ROS 2<br />
行动：<br />
执行wget <a href="http://fishros.com/install" target="_blank" rel="noopener noreferrer nofollow ugc">http://fishros.com/install</a> -O fishros之后，. fishros，按“1”出现问题<br />
Traceback (most recent call last):<br />
File "/tmp/fishinstall/install.py", line 138, in &lt;module&gt;<br />
main()<br />
File "/tmp/fishinstall/install.py", line 123, in main<br />
run_tool_file(tools[code]['tool'].replace("/","."))<br />
File "/tmp/fishinstall/tools/base.py", line 1550, in run_tool_file<br />
if tool.run()==False: return False<br />
File "/tmp/fishinstall/tools/tool_install_ros.py", line 457, in run<br />
self.install_ros()<br />
File "/tmp/fishinstall/tools/tool_install_ros.py", line 442, in install_ros<br />
if not self.support_install(): return False<br />
File "/tmp/fishinstall/tools/tool_install_ros.py", line 342, in support_install<br />
if (osversion.get_codename() not in ros_dist_dic.keys()) and (osversion.get_codename() not in ros2_dist_dic.keys()):<br />
File "/tmp/fishinstall/tools/base.py", line 735, in get_codename<br />
self.detect_os()<br />
File "/tmp/fishinstall/tools/base.py", line 695, in detect_os<br />
raise OsNotDetected("Could not detect OS, tried %s" % attempted)<br />
tools.base.GetOsVersion.&lt;locals&gt;.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']<br />
分析：在系统程序判断中不支持uos系统。不过uos系统底层也是基于debian的吧，所以我认为代码应该优化一下，谢谢。</p>
]]></description><link>https://fishros.org.cn/forum/topic/4628/统信uos系统安装ros2失败</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 20:54:23 GMT</lastBuildDate><atom:link href="https://fishros.org.cn/forum/topic/4628.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Nov 2025 10:14:41 GMT</pubDate><ttl>60</ttl></channel></rss>