Starting with virtual environments virtualenv

## Install virtual environments

sudo pip install virtualenv

## Excecute and append this line to .profile file in your home. If the file does not exist just create it.

source /usr/local/bin/virtualenvwrapper.sh

## Create a directory for virtual environments storage

mkdir ~/.virtualenvs

##Install virtualenv wrapper. It’s easier for create virtual environments (mkvirtualenv, workon, etc.)

sudo pip install virtualenvwrapper

## Excecute this line on shell

source /usr/local/bin/virtualenvwrapper.sh

##Now you can start working with virtual environments (mkvirtualenv, workon, etc.)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s