Skip to content

Instantly share code, notes, and snippets.

@mre
Created January 27, 2014 23:00
Show Gist options
  • Select an option

  • Save mre/8659102 to your computer and use it in GitHub Desktop.

Select an option

Save mre/8659102 to your computer and use it in GitHub Desktop.
Latest 'pip' fails with “requires setuptools >= 0.8 for <package>”
# I got the above error on Mavericks after upgrading Python.
# This is what I did to fix it.
# I was using virtualenv, so I first deactivated the current virtual environment
# and removed it completely
deactivate
rm -rf venv
# Then I upgraded pip to 1.5.1
brew upgrade pip
# Check with
pip --version
# I also upgraded setuptools
sudo pip install setuptools --no-use-wheel --upgrade
# If all is good, reinstall virtualenv
sudo pip uninstall virtualenv
pip install virtualenv
# Now I created a new virtualenv and derped on
virtualenv venv
activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment