if you're using an earlier version of python or if your system isn' set up to use the venv module correctlyyou can install the virtualenv package to install virtualenventer the followingpip install --user virtualenv keep in mind that you might need to use slightly different version of this command (if you haven' used pip yetsee "installing python packages with pipon page note if you're using linux and this still doesn' workyou can install virtualenv through your system' package manager on ubuntufor examplethe command sudo apt-get install python-virtualenv will install virtualenv change to the learning_log directory in terminaland create virtual environment like thislearning_logvirtualenv ll_env new python executable in ll_env/bin/python installing setuptoolspip done learning_lognote if you have more than one version of python installed on your systemyou should specify the version for virtualenv to use for examplethe command virtualenv ll_env --python=python will create virtual environment that uses python activating the virtual environment now that we have virtual environment set upwe need to activate it with the following commandlearning_logsource ll_env/bin/activate (ll_env)learning_logthis command runs the script activate in ll_env/bin when the environment is activeyou'll see the name of the environment in parenthesesas shown at uthen you can install packages to the environment and use packages that have already been installed packages you install in ll_env will be available only while the environment is active note if you're using windowsuse the command ll_env\scripts\activate (without the word sourceto activate the virtual environment to stop using virtual environmententer deactivate(ll_env)learning_logdeactivate learning_loggetting started with django