0

Possible Duplicate:
MySQL for Python in Windows

I can't import the MySQLdb package in Python. How to install the msqldb package and where to place it in Python? Then when I compile the code there is an error like no module named MySQLdb. Python version is 2.6.4 then MySQLdb version is 1.2.3c1. Pls clarify this.

Community
  • 1
  • 1

1 Answers1

1

On Windows you use binary version installer (contains already compiled MySQLdb):

http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python

http://www.codegood.com/archives/4

Mariusz Jamro
  • 30,615
  • 24
  • 120
  • 162