how to install mysqlDb for MySQL and Python ON WINDOWS
- by Spikie
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???????