To install Python 2 on Ubuntu 20.04, it's easy as run the command:
$ sudo apt install python
But you cannot install pip using old approach! If you run the "sudo apt install python-pip", you will be report with "E: Unable to locate package python-pip".
To install pip for Python 2 on Ubuntu 20.04:
Visit https://bootstrap.pypa.io/ and download get-pip.py
Install with python:
$ sudo python get-pip.py
No comments:
Post a Comment