pip安装ansible时的报错信息:Cannot uninstall ‘six’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方法:
cd /usr/lib/python2.7/
find ./ -name six*.egg-info
rm -rf ./site-packages/six-1.3.0-py2.7.egg-info (安全一点可以“mv”移动到其它地方)
pip install ansible-2.5.0.tar.gz
Cannot uninstall 'six'. It is a distutils installed project....
最新推荐文章于 2022-06-09 20:50:22 发布