Skip to content
Advertisement

installing pip on python2.7.5 and the old version issue

I want to make some change on a code which has been developed with python2.7.5 so I should use Python 2.7.5. But when I’m installing pip on python2.7.5, face this error. I have downloaded get-pip.py and ran it through cmd here is the error: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. enter image description here does it mean we can not use Python2 anymore??

Advertisement

Answer

try using python 2.7.12 or upper and you can run all python codes in python2

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