#9359: Problem running manage.py syncdb ---------------------------+------------------------------------------------ Reporter: osyed | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ I have Python 2.4.3. Just installed Django 1.0 stable release.
Started going through the intro tutorial. http://docs.djangoproject.com/en/dev/intro/tutorial01/ It was going smooth until I got to the "Database Setup" section. In settings.py I set the DATABASE_ENGINE to sqlite3 and DATABASE_NAME to full path and filename (/home/myaccount/mysite/mysite.db). Then when I tried to run: python manage.py syncdb I got the following error message. I don't know what I need to do to fix it. Please help. __init__.py __init__.pyc manage.py* settings.py settings.pyc urls.py [EMAIL PROTECTED]:/home/4youit/mysite [110]% python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in ? execute_manager(settings) File "/usr/lib/python2.4/site- packages/django/core/management/__init__.py", line 340, in execute_manager utility.execute() File "/usr/lib/python2.4/site- packages/django/core/management/__init__.py", line 295, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line 77, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line 95, in execute self.validate() File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line 122, in validate num_errors = get_validation_errors(s, app) File "/usr/lib/python2.4/site- packages/django/core/management/validation.py", line 22, in get_validation_errors from django.db import models, connection File "/usr/lib/python2.4/site-packages/django/db/__init__.py", line 16, in ? backend = __import__('%s%s.base' % (_import_path, settings.DATABASE_ENGINE), {}, {}, ['']) File "/usr/lib/python2.4/site- packages/django/db/backends/sqlite3/base.py", line 26, in ? raise ImproperlyConfigured, "Error loading %s module: %s" % (module, e) django.core.exceptions.ImproperlyConfigured: Error loading pysqlite2 module: No module named pysqlite2 -- Ticket URL: <http://code.djangoproject.com/ticket/9359> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
