can't open file 'get-pip.py'

[已解决]python2.7: can't open file 'get-pip.py': [Errno 2] No such file or directory。

缺少get-pip.py文件,查看python的Tools/scripts目录是否存在此文件:

../Python-2.7.14/Tools/scripts

或者,直接下载它:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py