2006年02月19日 星期日 11:19
看最后的提示是找不到数据库模块 我的django是svn trunk的, 看木头兄的教程说不用去设置数据库, 但是出现这样的错误, 换了几种数据库类型也是一样的问题. 另外怀疑是路径没有打通,还在尝试中... Validating models... Unhandled exception in thread started byTraceback (most recent call last): File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\core\mana gement.py", line 806, in inner_run validate() File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\core\mana gement.py", line 790, in validate num_errors = get_validation_errors(outfile) File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\core\mana gement.py", line 681, in get_validation_errors import django.models File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\models\__ init__.py", line 1, in ? from django.core import meta File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\core\meta \__init__.py", line 3, in ? from django.core import db File "d:\tools\python\lib\site-packages\django-0.91-py2.4.egg\django\core\db\_ _init__.py", line 23, in ? raise ImproperlyConfigured, "Could not load database backend: %s. Is your DA TABASE_ENGINE setting (currently, %r) spelled correctly? Available options are: %s" % \ django.core.exceptions.ImproperlyConfigured: Could not load database backend: No module named MySQLdb. Is your DATABASE_ENGINE setting (currently, 'mysql') spel led correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql', 'sqlit e3'
Zeuux © 2025
京ICP备05028076号