Créer un Venv
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
Nervous Nightingale
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
# CREATE FOLDER FOR A PROJECT
mkdir project_folder
cd project_folder
# CREATE VIRTUAL ENVIRONMENT
python3.7 -m venv myvenv
# or alternativelly
virtualenv myvenv --python=python3.7
# ACTIVATE VIRTUAL ENVIRONMENT
source myvenv/bin/activate
python3 -m venv env
# On Windows, invoke the venv command as follows:
# {1} = your python path or you can type python if you make a path
# {2} = your virtual enviroment path + \(your VI name) or type the name directly
# {1} -m venv {2}
python -m venv my_venv_name