Last active
January 9, 2020 03:32
-
-
Save tbalz2319/6dc66a53c7ce9ea6919a379ee27487ad to your computer and use it in GitHub Desktop.
Create virtualenv for 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
#How to activate the Python Virtual Environment | |
#MacOSX Mojave custom python from brew | |
virtualenv -p /usr/local/opt/python@2/bin/python venv | |
source venv/bin/activate | |
#Python 2.7+ | |
virtualenv venv | |
source venv/bin/activate | |
#Python3+ | |
python3 -m venv venv | |
source venv/bin/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment