Skip to content

Instantly share code, notes, and snippets.

@mojothejojo
Forked from Daeinar/gist:4383663
Created November 15, 2020 07:18
Show Gist options
  • Save mojothejojo/a7b003dd731db7ff3cc0791970959a50 to your computer and use it in GitHub Desktop.
Save mojothejojo/a7b003dd731db7ff3cc0791970959a50 to your computer and use it in GitHub Desktop.
Install pip packages with homebrew
Install pip packages with homebrew:
1. Install Homebrew
http://mxcl.github.com/homebrew/
2. Install the brew-pip package
brew install brew-pip
3. Add Homebrew's pip path to your PYTHONPATH environment variable (you probably should add this to some sort of shell initialization file like ~/.bashrc or ~/.zshrc)
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
3. Now install any pip pacakges with Homebrew!
brew pip Glances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment