

Please upgrade your Python as Python 2.7 is no longer maintained. # python get-pip.pyĭEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Step 2: Run the get-pip.py script using python. In my case get-pip.py is for python v2.7.

Step 1: You can download the script get-pip.py for your respective python version from the link. Using pip you can install/uninstall/upgrade/downgrade any python library that is part of Python Package Index. Python pip is a package manager that is used to install and uninstall third-party packages that are not part of the Python standard library. How to manually install higher version of PIP on Python v2.7 You should consider upgrading via the 'pip install -upgrade pip' command. You are using pip version 8.1.2, however version 22.3.1 is available. Help me to install higher version of PIP above 9.0.1 for python27 # pip install -upgrade pipĭownloading 2c7297465af5fe6eec2dbae490aa9763273ffdc1/pip-22.3.1.tar.gz (2.1MB)ġ00% |████████████████████████████████| 2.1MB 196kB/sĬomplete output from command python setup.py egg_info:įile "/tmp/pip-build-KWpQ2a/pip/setup.py", line 7Ĭommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-KW pQ2a/pip/ When tried to upgrade using pip install –upgrade pip, the command fails Command "python setup.py egg_info" failed with error code 1.Below is the complete error message. Some of the packages needs a higher version of pip atleast above 9.0.1. However, the version it has installed is 8.1.2 for Python version 2.7 though the latest version is 22.3.1. On my CentOS 7 minimal server installation, I installed python-pip using YUM.
