Created
February 10, 2015 14:00
-
-
Save jcrafford/34ac8df6e33dcdb7d041 to your computer and use it in GitHub Desktop.
Fix virtualenv after Python upgrade
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
| # navigate to virtualenv dir containing project | |
| workon <project> | |
| deactivate | |
| cd .. | |
| # delete broken links | |
| find <project>/ -type l -delete | |
| # re-create the virtualenv | |
| virtualenv <project> | |
| # test | |
| workon <project> | |
| python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment