Managing Python virtual environments gets easier via
virtualenvwrapper which delegates
virtualenv. This post shows basic usages of Python virtual environments using
virtualenvwrapper, especially for Ubuntu (and maybe Debian). It does not introduce the way of installation from PyPI, but from the Ubuntu package repositories. Such installation makes using
virtualenv more convenient to connect each of Python 2 and 3, which Ubuntu contains by default, without confusion.
virtualenvwrapper piles my
virtualenvs in the path
$HOME/.virtualenvs, in which various customizing scripts stay. The
virtualenvwrapper docs is worth reading.