So, It look like the error message in my last post is actually refering to a missing module, MySQLdb, a Python DB API-2.0 interface, which is needed for Python to talk to the db. And so I found MySQLdb in SourceForge, at this link http://sourceforge.net/projects/mysql-python.
The problem is that no Windows Installer available for any version of MySQLdb that run with Python 2.4, only 2.3. Only source file available for 2.4, which require compilation and some other fine tune, but as I really want to avoid all that, I search again in the forum, and actually found someone having the same problem as me,
http://sourceforge.net/forum/forum.php?thread_id=1313294&forum_id=70461
And there is an answer for this problem as well, a Windows Installer actually exist, as below
http://prdownloads.sourceforge.net/mysql-python/MySQL-python.exe-1.2.0.win32-py2.4.zip?download>
So, now I am downloading it over, and keep my finger cross that it works.
There are more details to this problem, refer this link, http://www.brunningonline.net/simon/blog/archives/001906.html
Glad to report, it work, after pointing django-admin.py to the module to follow, no error message appear, and check the webpoll db I have created, a few tables are actually being created. Yes.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment