checking a venv python code example
Example 1: python venv
python3 -m venv /path/to/new/virtual/environment
Example 2: python virtual env
$ source venv/bin/activate
python3 -m venv /path/to/new/virtual/environment
$ source venv/bin/activate