new virtual environment python 2 code example
Example 1: create a virtual environment python 3
python3 -m venv /path/to/new/virtual/environment
Example 2: virtual env python 2
virtualenv -p C:\Python27\python.exe venv
.\venv\Scripts\activate
python3 -m venv /path/to/new/virtual/environment
virtualenv -p C:\Python27\python.exe venv
.\venv\Scripts\activate