Roshan Book

My Tech Notebook

How to install MySQLdb in a virtualenv on Ubuntu Karmic


Source : http://www.saltycrane.com/blog/2010/02/install-mysqldb-virtualenv-ubuntu-karmic/

Install dependencies
sudo apt-get build-dep python-mysqldb
Install MySQLdb with pip/virtualenv
cd ~/lib/python-environments
virtualenv –distribute –no-site-packages default
pip install -E default/ MySQL-python

One response to “How to install MySQLdb in a virtualenv on Ubuntu Karmic

  1. Pingback: Setting up rancho in django « Roshan Book

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

%d bloggers like this: