you need the python with data module. On 11/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thanks James, > > I figured it out after a while, but it seems not to be a good idea to > install development version. I did that and made a mess of my computer. > I guess there is a version catch up for Django to do so that it will > keep up with Python releases. > > I look forward to the next release of Django so that I donot need to > strugle this much for it to be compatable with my Python 2.5. > > Thanks > Libo > > On Nov 5, 2:28 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > > On 11/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > In file "ez_setup.py", a configuration line should be > > > DEFAULT_VERSION = "0.6c3" > > > in stead of > > > DEFAULT_VERSION = "0.6c1"The ez_setup.py and the corresponding things it > > > used have actually > > been removed since the 0.95 release; having to constantly make minor > > changes like the one you point out, and the requirements it imposed on > > the installation process, just weren't worth it. Django now just uses > > the standard Python distutils instead of setuptools. > > > > > Secondly, I was trying to connect it to the database, then I added a > > > line of DATABASE_ENGINE = "sqlite3" to the settings.py file and > > > configured the DATABASE_NAME as the directory. Then I got a traceback > > > error when I was trying to execute "python manage.py syncdb", it saids > > > that one file is trying to import an unexisting module in python 2.5. > > > The module name is "pysqlite2", and it is not in python module > > > folder.This is mostly a Python 2.4 -> 2.5 compatibility issue; at the time > > Django 0.95 was released, Python 2.5 had not been released, so Django > > 0.95 relies on the old third-party SQLite module instead of the one > > that comes with Python 2.5. The current Django trunk (which you can > > get by following the instructions for installing the development > > version) was updated shortly after the Python 2.5 release to include > > some extra logic to check whether it's running under Python 2.5 (in > > which case it uses Python 2.5's built-in SQLite module) or an earlier > > version (in which case it will require the old third-party SQLite > > module). > > > > -- > > "May the forces of evil become confused on the way to your house." > > -- George Carlin > > > > >
-- www.mawei.name Petit IM&mail:[EMAIL PROTECTED] 13585201588 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---