virtualenv and pip

Post date: Dec 4, 2015 8:37:35 AM

Why to use virtualenv in python?

To create isolated development environments, preventing packages from colliding and conflicting with one another -- from [friendly-101]

Why pip?

Easy

How to use virtualenv?

- Use pip to install virtualenv (and virtualenvwrapper) globally

- create virtual environment

- use pip within the created virtualenv to install packages locally

There two pages are highly recommended:

http://friendly-101.readthedocs.org/en/latest/pipvirtualenv.html

http://docs.python-guide.org/en/latest/dev/virtualenvs/