installing python packages in virtual environment code example
Example 1: python venv
python3 -m venv /path/to/new/virtual/environment
Example 2: how to create a virtual environment in python
source env/bin/activate
python3 -m venv /path/to/new/virtual/environment
source env/bin/activate