Wednesday, January 12, 2011

Vegetable Oil Generator

Tips'n'Tricks: virtualenv

How to install the missing libraries to use MySQL in a virtualenv .

Suppose you have configured virtualenvwrapper and a machine with Ubuntu:

 
$ sudo apt-get build-dep python-MySQLdb-
$ workon virtualenv environments
$ pip install MySQL-python


HTH,
Sani

0 comments:

Post a Comment