

If you want to do it the manual way, the now-recommended method is to install using the get-pip.py script from pip's installation instructions. Install using the manual way detailed below.

If your Unix/Linux distro doesn't have it in package repos # First command requires you to have enabled EPEL for CentOS7 Installing pip on CentOS 7 for Python 3.xĪssuming you installed Python 3.4 from EPEL, you can install Python 3's setup tools and use it to install pip.

On CentOS 7, you have to install setup tools first, and then use that to install pip, as there is no direct package for it. Installing pip on CentOS 7 for Python 2.x On a fresh Debian/Ubuntu install, the package may not be found until you do: sudo apt-get update Run the following command from a terminal: sudo apt-get install python3-pip Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 3.x Run the following command from a terminal: sudo apt-get install python-pip Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x Instructions for some of the more common distros follow. You can usually install the package for pip through your package manager if your version of Python is older than 2.7.9 or 3.4, or if your system did not include it for whatever reason. If you're running Python 2.7.9+ or Python 3.4+Ĭongrats, you should already have pip installed. Edit: Manual installation and use of setuptools is not the standard process anymore.
