Created
January 27, 2014 23:00
-
-
Save mre/8659102 to your computer and use it in GitHub Desktop.
Latest 'pip' fails with “requires setuptools >= 0.8 for <package>”
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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