install virtual env code example
Example 1: install virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Example 2: create virtual env
python3 -m venv env
Example 3: install virtualenv Python
pip install virtualenv
Example 4: python virtual env
$ export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.7
Example 5: how to activate the pytho virtual environment
mypthon\Scripts\activate