check virtual environment code example
Example 1: python virtual env
$ cd project_folder
$ virtualenv venv
Example 2: create virtual environment code
python3 -m venv venv
$ cd project_folder
$ virtualenv venv
python3 -m venv venv