fishros / install

一键安装程序,欢迎大家提交代码和小鱼一起一键安装停止浪费生命
https://fishros.github.io/install/
1.61k stars 207 forks source link

ubuntu20出现No module named 'distro' #24

Closed WinCherry closed 1 year ago

WinCherry commented 1 year ago

进行wget http://fishros.com/install -O fishros && . fishros命令输入时 出现了以下报错: WARN:No Yaml Module! Traceback (most recent call last): File "/tmp/fishinstall/install.py", line 90, in main() File "/tmp/fishinstall/install.py", line 30, in main from tools.base import CmdTask,FileUtils,PrintUtils,ChooseTask File "/tmp/fishinstall/tools/base.py", line 775, in osversion = GetOsVersion() File "/tmp/fishinstall/tools/base.py", line 105, in GetOsVersion import distro ModuleNotFoundError: No module named 'distro' 然后进行了 pip install pyyaml和 pip install distro,完成安装后依旧报这个错误无法运行

WinCherry commented 1 year ago

系统中存在Python2.7、python3.8、python3.9,pip默认使用python3.9

WinCherry commented 1 year ago

请问能帮忙解决一下吗,感激(O^O)

fishros commented 1 year ago

用默认的系统python运行一键安装