加载插件“subscription-manager”失败:没有名为“decorator”的模块

加载插件“subscription-manager”失败:没有名为“decorator”的模块

错误:如果在运行 dnf/yum 命令时出现此错误

Failed loading plugin "subscription-manager": No module named 'decorator'
Failed loading plugin "product-id": No module named 'decorator'
Failed loading plugin "upload-profile": No module named 'decorator'

答案1

安装此包来解决上述装饰器错误。

yum install python3-decorator -y

相关内容