# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Traceback (most recent call last): File "/usr/bin/yum-config-manager", line 6, in <module> import yum
解决方案
vim /usr/bin/yum-config-manager 修改首行: #!/usr/bin/python2.7 -tt
标签:bin,last,manager,yum,usr,call,config From: https://www.cnblogs.com/Primzahl/p/16943317.html