今天在ubuntu上升级了pip,之后执行pip命令的时候就报错了: Traceback (most recent call last): File "/usr/bin/pip", line 11, in <module> sys.exit(__main__.main()) 解决方法: sudo vi /usr/bin/pip 将这三行替换为下面三行: 1 from pip import main 2 if __name__ == '__main__': 3 s…
[root@ceph-node1 ceph]# ceph-deploy new node1 Traceback (most recent call last): File "/usr/bin/ceph-deploy", line 18, in <module> from ceph_deploy.cli import main File "/usr/lib/python2.7/site-packages/ceph_deploy/cli.py", line…