Wiadomość napisana w dniu 2009-01-16, o godz. 15:38, przez bconnors:

> yes it does:
>
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
> (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sqlite3
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: DLL load failed with error code 193
>
>
> On Jan 16, 8:53 am, Jarek Zgoda <jarek.zg...@redefine.pl> wrote:
>> Wiadomość napisana w dniu 2009-01-16, o godz. 14:39, przez bconnors:
>>
>>> Settings.py wants a sqlite3.db. When I loaded python 2.5 I got a
>>> sqlite3.dll and sqlite3.pyd sqlite3.lib, but no sqlite3.db. I used
>>> sqlite3.pyd and got:
>>>  File "C:\Python25\Lib\site-packages\django\db\__init__.py", line  
>>> 16,
>>> in <module>
>>>    backend = __import__('%s%s.base' % (_import_path,
>>> settings.DATABASE_ENGINE),
>>> {}, {}, [''])
>>>  File "C:\Python25\Lib\site-packages\django\db\backends
>>> \sqlite3\base.py", line
>>> 28, in <module>
>>>    raise ImproperlyConfigured, "Error loading %s module: %s" %
>>> (module, exc)
>>> django.core.exceptions.ImproperlyConfigured: Error loading sqlite3
>>> module: DLL load failed with error code 193
>>
>> Try to import sqlite3 from interactive Python shell. Does this  
>> produce
>> any error?

Same error code - your Python installation is hosed. Uninstall and  
install again Python, then try again.

-- 
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
jarek.zg...@redefine.pl


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to