create virtual env with pip python 2 code example
Example 1: create new python environment
py -m venv env
Example 2: virtual env python 2
virtualenv -p C:\Python27\python.exe venv
.\venv\Scripts\activate
py -m venv env
virtualenv -p C:\Python27\python.exe venv
.\venv\Scripts\activate