测试基础 安装 python3 后,yum 失效问题解决

tongyuruo · December 07, 2020 · 1036 hits

因为 yum 包使用 python2* 等开发,修该为环境修改 python3 之后有问题,
解决:
修改文件/usr/bin/yum、/usr/libexec/urlgrabber-ext-down 头中相应 python 为 #!/usr/bin/python2.7

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up