Created
April 27, 2020 04:19
-
-
Save coopbri/6b8db94c6c3adb5b902362cd803184cc to your computer and use it in GitHub Desktop.
Create a Python virtual environment with `virtualenv`
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/sh | |
# Create a Python virtual environment with `virtualenv` | |
# | |
# Other options exist for creating and managing virtual environments, such as: | |
# Conda: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html | |
# Pipenv: https://pipenv.pypa.io/en/latest/ | |
virtualenv venv/ # Create virtual environment -- `venv` can be anything you'd like | |
source venv/bin/activate # Activate virtual environment in session (change `venv` according to your selection in above command) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment