views:

30

answers:

2

I am new to django

I would like to start a project but when i run it i get this error

Error loading MySQLdb module

How do i add the MYSQL module or any other module for that matter

+2  A: 

Install it on your system, using either a native installer or package, via pip or easy_install, or by running setup.py in the tarball.

Ignacio Vazquez-Abrams
If you are using a virtual environment, make sure you activate it before installing.
Andrew Sledge
A: 

you should install a mysql client and a mysql python client for that client. So you should execute following commands(For Debian systems)

apt-get install mysql-client
apt-get install python-mysqldb
Numenor
The likelihood of the OP using anything other than Windows seems remote.
Daniel Roseman
@Daniel: Cheeky =P +1 though ;)
Manoj Govindan