Answers for "python venv activate for both mac and windows"

9

create a venv

# Create the virtual environment.
python -m venv venv

# Activate the env.
venv\Scripts\activate.bat
Posted by: Guest on June-16-2020
1

python env

python3 -m venv tutorial-env
tutorial-env\Scripts\activate.bat (window)
source tutorial-env/bin/activate (linux)
Posted by: Guest on September-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language