how to install python in a virtual environment code example
Example 1: how to use virtual environment python
python3 -m pip install --user virtualenv
Example 2: python virtual env
$ virtualenv --version
python3 -m pip install --user virtualenv
$ virtualenv --version