Skip to content

Instantly share code, notes, and snippets.

@mabroor
Created January 3, 2019 10:40
Show Gist options
  • Save mabroor/c9fafd027e6b08a133d533ced56de78a to your computer and use it in GitHub Desktop.
Save mabroor/c9fafd027e6b08a133d533ced56de78a to your computer and use it in GitHub Desktop.
Fix virtualenv after brew upgrade
deactivate
cd ~/.virtualenv/problem_env
rm -rf .Python bin/python* lib/python2.7/* include/python2.7
# Check python path
# which python
virtualenv -p /usr/local/bin/python .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment