To install Python 2 and #pip for #Python 2 on #Ubuntu, complete the following steps:
- Update the package index by running the following #command: sudo apt update.
- Install pip for Python 2 with: sudo apt install python-pip.
- Verify the installation by printing the pip version number: pip --version.
More Info > https://linuxapt.com/blog/11-install-and-use-python-pip-tools-on-ubuntu