not hard to test this, just open up a python shell and type 'import
sqlite3' and see what happens

Python 2.5.1 (r251:54863, Mar  7 2008, 03:41:45)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>>


that is good.  if it says error, something is broken, although I can't
speak for Python2.5 in Windoze.


On Fri, Jun 27, 2008 at 9:06 PM, Malcolm Tredinnick
<[EMAIL PROTECTED]> wrote:
>
>
> On Fri, 2008-06-27 at 07:54 -0700, yellowbkpk wrote:
>> I just did a fresh install of Cygwin (and Cygwin's python version),
>> checked out django-trunk, and ran python setup.py install.
>>
>> When I try to runserver, I get:
>>
>> $ python2.5 manage.py runserver
>> Validating models...
>> Unhandled exception in thread started by <function inner_run at
>> 0x7fd61bfc>
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.5/site-packages/django/core/management/
>> commands/runserver.py", line 47, in inner_run
>>     self.validate(display_num_errors=True)
>>   File "/usr/lib/python2.5/site-packages/django/core/management/
>> base.py", line 112, in validate
>>     num_errors = get_validation_errors(s, app)
>>   File "/usr/lib/python2.5/site-packages/django/core/management/
>> validation.py", line 22, in get_validation_errors
>>     from django.db import models, connection
>>   File "/usr/lib/python2.5/site-packages/django/db/__init__.py", line
>> 17, in <module>
>>     backend = __import__('%s%s.base' % (_import_path,
>> settings.DATABASE_ENGINE), {}, {}, [''])
>>   File "/usr/lib/python2.5/site-packages/django/db/backends/sqlite3/
>> base.py", line 22, in <module>
>>     raise ImproperlyConfigured, "Error loading %s module: %s" %
>> (module, e)
>> django.core.exceptions.ImproperlyConfigured: Error loading sqlite3
>> module: No module named pysqlite2
>
> That tells you exactly what the error is. It's a little odd, thouh,
> since I thought "import sqlite3" worked always for Python 2.5. It will
> only fall back to trying to import pysqlite2 if "import sqlite3" doesn't
> work.
>
> So, basically, your Python installation isn't correct. The problem isn't
> with Django, it's earlier in the pipeline.
>
> Regards,
> Malcolm
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to