install virtualenv for python 2.7 code example
Example 1: install virtualenv
pip install virtualenv
activate it by doing this:
cd myproject/Scripts/activate
Example 2: how to make a virtual environment in python
py -m venv env
Example 3: how to make a virtual environment in python
.\env\Scripts\activate