While leaning web developing using Django and Python, I found out
VirtualEnv or Virtual Environment is widely used, in first I didn't get
it because I came from Microsoft .NET Framework development platform, so
I thought of writing a post about it to make simple.
What is Virtual Environment?
VirtualEnv or Virtual Environment is a way to create isolated
development environment each one has it's own packages and specific
package version, for example VirEnv1 has Django 1.6 and VirEnv2 has
Django 1.7, this isolation will keep your project packages dependency
clear, isolated, and as I'll show you below that you can replicate the
environment with one command and file, so if you work in team it's easy
to share the same environment among the
How to install VirtualEnv?
VirtualEnv is a python package so to install is you need to install pip
Open terminal and type the following command
sudo apt-get install python-pip
After finish installing pip type the following command to install
sudo pip install virtualenv
After finish installing virtualenv, type the following command to
create folder to store your virtual environments
How to create virtualenv?
After install virtualenv you are …