how to transfer your python code to a python virtual environment code example
Example 1: how to use virtual environment python
source env/bin/activate
Example 2: python virtual environment
python3 -m pip install --user virtualenv
source env/bin/activate
python3 -m pip install --user virtualenv