create environment with pre-installed packages requirements.txt python code example
Example 1: create a virtual environment python 3
python3 -m venv /path/to/new/virtual/environment
Example 2: create a virtualenv python3
py -m venv env
python3 -m venv /path/to/new/virtual/environment
py -m venv env