Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mrchrisadams/4c017810bd5786e149574e687ee6d9e7 to your computer and use it in GitHub Desktop.
Save mrchrisadams/4c017810bd5786e149574e687ee6d9e7 to your computer and use it in GitHub Desktop.
why do I keep getting old and busted pip and setuptools versions?
$ which pip
# /usr/local/bin/pip
$ which virtualenv
#/usr/local/bin/virtualenv
$ pip --version
# pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)
$ virtualenv --version
# 1.11.6
$ virtualenv venv
# New python executable in venv/bin/python2.7
# Also creating executable in venv/bin/python
# Installing setuptools, pip...done.
$ source venv/bin/activate
$ pip --version
# pip 1.5.6 from /Users/chrisadams/Desktop/project/venv/lib/python2.7/site-packages (python 2.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment