New answers tagged python
I did it as follows: brew install python then after python is installed: sudo easy_install pip
Another viable option without a need to disable SIP or install other Python versions, is to install the modules only for the current user using pip install --user <modulename> If it is just your personal machine, this would be the simplest and safest solution.
Try closing your terminal window, and making a new one. The shell only actually checks where commands are located on launch, and doesn't check again if it thinks it knows where the command is located. It's a performance boost in scripts, so generally a good idea.
Top 50 recent answers are included