activate python virtual environment windows code example
Example 1: virtual env create python
sudo apt-get install python3.6-venv
python3 -m venv env
source env/bin/activate
py -m pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
Example 2: activate virtualenv windows
venv\Scripts\activate
Example 3: setting p a virtual envioronment
...\> py -m venv project_name
...\> project_name\Scripts\activate.bat
...\> py -m pip install Django
Example 4: how to make virtual environment
virtualenv mypython