0

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.... pls clarify this....

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by muthulazmi
0

Please do two things:

  1. Read (and follow) all the README file in the distribution
  2. More information: What platform, version of python, version of mysqldb code

Edited by griswolf: Better info

0

im using windows XP..version of python is 2.6.4....version of mysqldb is 1.2.3c1

0

http://sourceforge.net/projects/mysql-python/ :

MySQL for Python project is a great contribution to Python developers that need to work with MySQL. It has been tested in the field and works. For windows binaries look at http://www.codegood.com. There you will find 32 bit and 64 bit binaries for the 1.2.3c1 and 1.2.2 versions of the project that work with python 2.6 and Python 2.5, you will also find embedded versions for Python 2.6. (…less)

Generic answers: Your PYTHONPATH may need to be updated, or you may need to edit site-packages/easy-install.pth (or some other *.pth file) You can tell by the angle of the slash that I don't run Windows, so I cannot help with Windows-specific problems.

0

Thanks griswolf...i clear that error i installed mysql1.2.3b2 version instead of mysql1.2.3c1 now its work thaks for u r answer....

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.