venv venv is a module available by default in Python 3.3 and later, which can create lightweight virtual environments. It's built into Python, so no additional installation is required. To create an environment, use: python3 -m venv myenv. To activate it on Unix or MacOS, use: source myenv/bin/activate.
Type deactivate to do that