In this post, I will tell you step by step how to install “pip” on Mac OSX Yosemite with Python support. Basically, I follow the instructions of the website shown below:
In case you still have problem following the procedure in this post, make sure to take a look at the website which might help you solve the problem.
Let’s get started!
Step 1. Install Python (I use Python 2.7) on your mac.
Download the latest Python version in this website:
Choose a version that you like and install the package on your mac.
After successfully install Python, open Terminal.app to check!
Type “python” and you should see the respond like this:
Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information.
Step 2. Method 1: Install pip on your mac.
Go to the website: https://bootstrap.pypa.io/get-pip.py
Copy the whole code and save it in a TextEdit app. Remember to change the file type to py, for example: installpip.py.
Right click the the file that you just created, and choose “Get info”. Copy the path after “Where: “, so you’ll get the path of your file.
Type “cd” and press a space on the terminal, after that paste the path and press enter, then it should start to install pip.
[...]ChenTingHao% cd /Volumes/...(the path of the file)
Step 2. Method 2: Install pip on your mac.
Simply type “sudo easy_install pip” on the terminal. After typing your password, it will start to install pip on your mac. More instructions could be found here:
[...]ChenTingHao% sudo easy_install pip
Feb 15, 2016