how to install mysqlDb for MySQL and Python ON WINDOWS

Posted by Spikie on Stack Overflow See other posts from Stack Overflow or by Spikie
Published on 2010-01-02T16:54:47Z Indexed on 2010/03/28 18:13 UTC
Read the original article Hit count: 367

Filed under:
|
|

I AM A NET DEVELOPER TRY TO INSTALL MYSQLDB FOR PYTHON I KEEP HAVING THIS ERROR MESSAGE

raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb>

I AM FOLLOWING THIS INSTRUCTION FROM THIS SITE <"http://sourceforge.net/project/shownotes.php?release_id=303257"

I DO NOT UNDERSTAND THESE LINES

Windows .......

C:...> python setup.py install C:...> python setup.py bdist_wininst

The latter example should build a Windows installer package, if you have the correct tools. In any event, you must have a C compiler. Additionally, you have to set an environment variable (mysqlroot) which is the path to your MySQL installation. In theory, it would be possible to get this information out of the registry, but like I said, I don't do Windows, but I'll accept a patch that does this.

I HAVE BEEN SEARCHING FOR ANSWER ALL DAY

PLEASE DO ANYBODY REALLY KNOW HOW TO DO THIS OR AT LEAST POINT ME IN THE RIGHT DIRECTION????

THANKS and what is the c compiler for???????

© Stack Overflow or respective owner

Related posts about python

Related posts about mysql