Python virtualenv and virtualenvwrapper

Install Python

Install pip

Install virtualenv

virtualenv is a tool to create isolated Python environments.

The basic problem being addressed is one of dependencies and versions, and indirectly permissions


virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.

Check Python and virtualenvs libs version.

Create a virtualenv for your project.

mkvirtualenv my_project

Cd into your folder for storing the project.

Mkdir to create project folder.

setprojectdir . to set the folder to your env.

Now all your project folder must go in that folder.

deactivte env and workon env.

Comments Off on Python virtualenv and virtualenvwrapper