create python environment windows code example
Example 1: create a venv
python -m venv venv
venv\Scripts\activate.bat
Example 2: venv activate windows
cd_yourdir
>pip install virtualenv
>virtualenv "__"
E.G.
> virtualenv venv
>D:Projectdir/venv/scripts/activate.bat
DONE !!!
(venv) D:/projectdir>
Example 3: create environment python windows 10
python3 -m venv venv
Example 4: setting p a virtual envioronment
...\> py -m venv project_name
...\> project_name\Scripts\activate.bat
...\> py -m pip install Django
Example 5: python virtual environment
python3 -m pip install --user virtualenv