command activate a virtual environment python code example
Example 1: how to create a virtual environment in 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