On Aug 29, 4:19 am, Issac <[EMAIL PROTECTED]> wrote: > I have installed python2.5 on RH3L-AS4 successfully. > And already installed Django1.0-beta2 successfully. > > After i create a project test, when i use python manage.py runserver > to start the dev server, the log shows error during the starting > process:
<snip> > File "/usr/workspace/python25/lib/python2.5/site-packages/django/db/ > backends/sqlite3/base.py", line 26, in <module> > raise ImproperlyConfigured, "Error loading %s module: %s" % > (module, e) > django.core.exceptions.ImproperlyConfigured: Error loading sqlite3 > module: No module named pysqlite2 > ======================================================================================== > > But in /usr/workspace/python25/lib/python2.5/site-packages/django/db/ > backends/sqlite3/base.py, there says "Python 2.5 and later use the > sqlite3 module in the standard library." So, i have no idea about > this issue. Does anyone have expirence on this? I'll be very > appreciate your help. > > BTW, the server has a python2.3.4 already installed, i use python2.5 > command file directly to run the server. Presumably you installed Python from the RHEL package. I don't know about Red Hat specfiically, but many Linux distributions have various different packages including a 'minimal' version which doesn't include all the default libraries. It may be that you have installed that version, rather than the full distribution. Try just running python2.5 to get the shell and typing 'import sqlite3' - if it doesn't work there, then you'll need to use your package manager to install the full Python version. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---