1

I have installed ActivePython and am trying to import MySQLdb

>> import mySQLdb 

gives me an error stating No module called MySQLdb

I have tried searching but all the resources out there explain how to set up the mySQLdb for unix, not for windows, can you please tell me how I can do that with ActivePython? I am also planning to use pyDev (eclipse) from now on, how do I configure MySQLdb in both cases?

Thanks

Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
Mponnada
  • 263
  • 5
  • 18

2 Answers2

0

You can find a detailed HOWTO over here

lugte098
  • 2,271
  • 5
  • 21
  • 30
0

To install MySQL-Python,

pypm install mysql-python
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187