see python virtualenv 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
$ pip install --user pipenv