Installing pip on macOS

Written by Michael Lee on September 23, 2016

With a fresh install of macOS, it comes with a version of Python, but it doesn’t come with Python’s package manager, pip.

If you need to use pip, it is fairly easy to install.

First you’ll want to install the command-line tools by either installing Xcode or running this command from Terminal:

$ xcode-select --install

Once the command-line tools are installed, you’ll run this command:

$ sudo easy_install pip

Installation should be fairly quick. Afterwards running pip -V should return something like:

$ pip -V
pip 8.1.2
Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design, side projects and working remotely. Sign up and I'll send you my articles straight to your email.

:wave: Hey hey, I'm Michael Lee! I really appreciate you taking the time to read this article.

Be sure to check out my other articles.