creating a virtual environment in python2 code example
Example 1: creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-env\Scripts\activate #activate env
deactivate #deactivate env
Example 2: python virtual env
$ virtualenv -p /usr/bin/python2.7 venv