How to Install Pip on Python (All Operating Systems)

Pip is Python's official package installer — the tool that lets you pull in third-party libraries like requests, numpy, flask, and thousands of others with a single command. If you're setting up a Python development environment, getting pip working correctly is one of the first things you'll need to sort out.

What Is Pip and Why Does It Matter?

Pip stands for "Pip Installs Packages." It connects to the Python Package Index (PyPI), a repository hosting over 500,000 open-source packages. Once pip is installed, adding any of those packages to your project takes one line: pip install package-name.

Without pip, you'd need to manually download, unpack, and configure every library yourself — a slow, error-prone process that no serious developer does anymore.

Does Python Already Include Pip?

In most modern setups, pip comes bundled with Python automatically. Specifically:

  • Python 3.4 and later ships with pip included via the ensurepip module
  • Python 2.7.9 and later also included pip, though Python 2 is end-of-life

Before attempting an installation, check whether pip is already available: