Created
December 19, 2021 19:38
-
-
Save cameronp98/749a6cc5ccc64ca95aff9da675906dd4 to your computer and use it in GitHub Desktop.
Remake a venv after rebuilding 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
#!/bin/bash | |
pip freeze > requirements.txt | |
deactivate | |
rm -rf ./venv | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment