Virtual environments are a useful way of separating dependencies and establishing a working environment for Python projects. The most common way of achieving this is through the use of virtualenv or pipenv. But since Python 3.3, a subset of virtualenv has been integrated into the standard library under the venv module. Though not as featureful as the former two, venv is a simple way of getting a functional virtual environment setup.
This gist was inspired by Corey Schafer's video on venv.
The commands are intended to be used on any Arch-based Linux distribution. For others distros, python3 and pip3 might be the way to go.