Skip to content

Instantly share code, notes, and snippets.

@cfljam
Created October 18, 2013 04:15
Show Gist options
  • Save cfljam/7036413 to your computer and use it in GitHub Desktop.
Save cfljam/7036413 to your computer and use it in GitHub Desktop.
install a python package to $HOME when you dont have root access
pip install --install-option="--prefix=$HOME/local" package-name
export PYTHONPATH=$PYTHONPATH:~/local/lib/python2.6/site-packages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment