does a python script work if we have a virtual environment in our project code example
Example 1: how to use virtual environment python
python3 -m venv env
Example 2: how to use virtual environment python
python3 -m pip install --user virtualenv