To install pip for Python 2.7 install it from https://bootstrap.pypa.io/pip/2.7/ :
- curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
- python get-pip.py
- (python -m pip install --upgrade "pip < 21.0")
The last command is to upgrade to the latest supported version. For Python 2.7 the latest supported is currently pip 20.3.4.
沒有留言:
張貼留言