解决方法:
将 /usr/bin/pip 文件中:
from pip import main
if __name__ == '__main__':
sys.exit(main())
改为:
from pip import __main__ if __name__ == '__main__': sys.exit(__main__._main())