Virtual Environment for Python
Python
  The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Python packages in its site directories.
Initialize the Environment
python3 -m venv /path/to/new/virtual/environmentActivate the Environment
cd /path/to/new/virtual/environment
source ./bin/activateDeactivate the Environment
deactivateBash Prompt
Bash prompt, normal:
username@hostname:~/current/path$Bash prompt, with virtual environment activated:
(current_dir) username@hostname:~/current/path$