下载get-pip.py
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
安装
python get-pip.py
报错如下
ERROR: Could not find a version that satisfies the requirement pip<21.0 (from versions: none)
解决方法:
python get-pip.py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com