Creating Python Virtual Environment Without Installing To The System
When you develop projects in python, you often met the situation where you will need to install various packages that will clutter the general python installation in your system. Usually people will use the famous virtualenv. However, it often brings trouble when you have to run 2 or more python environments simultaneously. I'm about to share a simple trick that you can use to separate those environment, still using virtualenv but we're using it differently. The examples are in unix/linux, but the usage is quite similar in windows. First, download virtualenv.py from https://raw.github.com/pypa/virtualenv/master/virtualenv.py . That should be done in seconds. Next up, create any folder where ever you want to create the virtual environment and copy the downloaded virtualenv.py file inside the folder. Now, run the following command: python virtualenv.py env That will create a folder called env inside your current folder and the folder will contain your newly created