python créer venv code example
Example 1: how to create a python venv
python3 -m venv tutorial-env
Example 2: create a venv
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
python3 -m venv tutorial-env
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat