command to create an\ env in python code example
Example 1: how to use virtual environment python
python3 -m venv env
Example 2: create a virtual environment python 3
python3 -m venv /path/to/new/virtual/environment
python3 -m venv env
python3 -m venv /path/to/new/virtual/environment