这个问题可能是由于缺少yum模块导致的。您可以尝试重新安装yum模块,或者使用以下命令安装:

sudo apt-get install python-yum

如果您使用的是其他Linux发行版,请使用相应的包管理器安装python-yum模块。如果问题仍然存在,请尝试重新安装yum本身。

输入任何命令都显示这个问题Traceback most recent call last File binyum line 4 in module import yumModuleNotFoundError No module named yumDuring handling of the above exception another exception occurredTracebac

原文地址: http://www.cveoy.top/t/topic/fh8o 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录