Ahmad Awais

Senior Full Stack WordPress developer — WP Core Contributor — Front-end Fanatic — Accidental Writer. I love to write, talk, build, and share everything about WordPress. You can find me making small automation scripts for DevOps stuff or toying around with WP Business ideas. Let's catch up at Twitter @MrAhmadAwais.

SHARE


QuickTip: How Do I Install pip on macOS or OS X?

Ahmad AwaisAhmad Awais

Even if you are not into Python  there comes a time when you end up with the need of having to install pip  on your macOS or OSX based computer. Searching online would lead you to long tutorials which are not really what you need. All you have to do is run the following command.

sudo easy_install pip

Explanation

MacOS comes with Python installed. But to make sure that you have Python installed open the terminal and run the following command.

python --version

If this command returns a version number that means Python exists. Which also means that you already have access to easy_install; considering you are using MacOS/OSX.

ℹ️ Now, all you have to do is run the following command.

sudo easy_install pip

After thatpip will be installed and you’ll be able to use it for installing other packages.

Let me know if you have any problems installing pip this way.

Complimentary GIF

pip python

🎩

WPTakeaway: Premium WordPress Newsletter!

Takeaway my professional opinion about Full Stack WordPress Development, building a business, growing a family, and everything web! Delivered to your inbox twice a month. 👻 I hate spam! Pinky Promise!

Senior Full Stack WordPress developer — WP Core Contributor — Front-end Fanatic — Accidental Writer. I love to write, talk, build, and share everything about WordPress. You can find me making small automation scripts for DevOps stuff or toying around with WP Business ideas. Let's catch up at Twitter @MrAhmadAwais.