The First Step of Python Virtualenvwrapper for Ubuntu

2017-09-28 12:20:00 +0000
virtualenv, tutorial


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.

By default, virtualenvwrapper piles my virtualenvs in the path $HOME/.virtualenvs, in which various customizing scripts stay. The virtualenvwrapper docs is worth reading.