my bad. i read that sqlite3 was supplied by python 2.5. i have python
2.4. the base.py says sqlite2 is correct for prior to python 2.5, but
that didn't work either. tomorrow i install python 2.5. will that
work?


On Jan 14, 2:16 pm, bconnors <[email protected]> wrote:
> In the settings.py it says “ If you're new to databases, we recommend
> simply using SQLite (by setting DATABASE_ENGINE to 'sqlite3').”
>
> I did that but get this error:
>
> C:\PROGRA~1\plone\Python\jan13django\mysite>..\..\python manage.py
> syncdb
>
> Traceback (most recent call last):
>   File "manage.py", line 11, in ?
>     execute_manager(settings)
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\__init
> __.py", line 340, in execute_manager
>     utility.execute()
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\__init
> __.py", line 295, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\base.p
> y", line 195, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\base.p
> y", line 221, in execute
>     self.validate()
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\base.p
> y", line 249, in validate
>     num_errors = get_validation_errors(s, app)
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\core
> \management\valida
> tion.py", line 22, in get_validation_errors
>     from django.db import models, connection
>   File "C:\PROGRA~1\plone\Python\Lib\site-packages\django\db
> \__init__.py", line
> 16, in ?
>     backend = __import__('%s%s.base' % (_import_path,
> settings.DATABASE_ENGINE),
>  {}, {}, [''])
>   File "C:\PROGRA~1\plone\Python\lib\site-packages\django\db\backends
> \sqlite3\ba
> se.py", line 28, in ?
>     raise ImproperlyConfigured, "Error loading %s module: %s" %
> (module, exc)
> django.core.exceptions.ImproperlyConfigured: Error loading sqlite3
> module: No module named sqlite3
>
> C:\PROGRA~1\plone\Python\jan13django\mysite>
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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