升级Python3后yum安装报错

1、vi /usr/bin/yum

Change #!/usr/bin/python on the first line to #!/usr/bin/python2.

2、vi /usr/libexec/urlgrabber-ext-down

#!/usr/bin/python >–Replace with -->#!/usr/bin/python2

你可能感兴趣的:(linux,服务器,运维)