Created
August 1, 2019 11:53
-
-
Save joostd/dae6cb00a6201c782a96c5cf53d0f160 to your computer and use it in GitHub Desktop.
fix a python virtualenv after upgrading python
This file contains 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
# src: https://stackoverflow.com/questions/23233252/broken-references-in-virtualenvs | |
brew install findutils # macos find doesn't have xtype | |
gfind venv/ -type l -xtype l -delete | |
virtualenv venv -p python3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment