Skip to content
Advertisement

How can I install pip for Python2.7 in Ubuntu 20.04

Is there any way that I can install “pip” for “Python2.7” ? I could install python2.7 by

JavaScript

I tried installing pip for this.

JavaScript

but none worked. Can anybody have solution for this.

Advertisement

Answer

Pip for Python 2 is not included in the Ubuntu 20.04 repositories.

Try this guide which suggests to fetch a Python 2.7 compatible get_pip.py and use that to bootstrap pip.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement