install django in a virtual environment code example Example: create virtual environment django virtualenv env