windows python create virtual environment code example
Example 1: create venv in windows
python -m venv <venv-name>
.\Scripts\activate.bat
Example 2: python create virtualenv
pip install virtualenv
cd projectfolder
python -m venv ./venv
Activate.ps1
activate.bat
Example 3: how to set up python virtual environment
pip install virtualenv
virtualenv dataengineer_pipeline
python -m venv dataengineer_pipeline
dataengineer_pipeline/bin/activate
dataengineer_pipeline\Scripts\activate.bat
deactivate
Example 4: venv
python -m venv c:\path\to\myenv
Example 5: how to make virtual environment
virtualenv mypython
Example 6: activate virtual environment in windows
.\env\Scripts\\activate.bat