Toybrick

yum

18792752963

注册会员

积分
108
楼主
发表于 2020-11-25 16:15:02    查看: 7612|回复: 5 | [复制链接]    打印 | 只看该作者
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.15 (default, Oct 15 2018, 15:01:40)
[GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
  


回复

使用道具 举报

18792752963

注册会员

积分
108
沙发
 楼主| 发表于 2020-11-25 16:17:25 | 只看该作者
一直报这个错误
回复

使用道具 举报

18792752963

注册会员

积分
108
板凳
 楼主| 发表于 2020-11-25 16:18:03 | 只看该作者
麻烦解决一下
回复

使用道具 举报

jefferyzhang

版主

积分
12944
地板
发表于 2020-11-25 16:51:25 | 只看该作者
1. 什么板子
2. 什么系统
3. 执行什么命令
回复

使用道具 举报

18792752963

注册会员

积分
108
5#
 楼主| 发表于 2020-11-25 17:49:26 | 只看该作者
tb-rk3399prod
fedroa28
sudo yum install python3.6
回复

使用道具 举报

jefferyzhang

版主

积分
12944
6#
发表于 2020-11-25 18:44:50 | 只看该作者
本帖最后由 jefferyzhang 于 2020-11-26 14:50 编辑
18792752963 发表于 2020-11-25 17:49
tb-rk3399prod
fedroa28
sudo yum install python3.6

这种问题你去fedora社区问比较好吧,我们只是个芯片厂家。。。
我们只能维护自己出去的包。不是很建议在操作系统上去升级python版本,会有很多系统库不匹配造成其他问题的。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表