Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save StuffbyYuki/1da5d9cd2f242cd19f7453f2ea44b725 to your computer and use it in GitHub Desktop.

Select an option

Save StuffbyYuki/1da5d9cd2f242cd19f7453f2ea44b725 to your computer and use it in GitHub Desktop.
Python:Git - Command to set and active virtual environment
#Refer to the documentaions for details -> https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
#Mac
python3 -m venv env
source env/bin/activate
#Windows
python -m venv env
.\env\Scripts\activate
#Mac on Bootcamp
python -m venv env
source env/Scripts/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment