Thanks. I ignore the compile errors but the problem is the second part; my web site shows 'Internal Error' and I get those messages in apache error log.
On Nov 23, 3:37 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: > lazyant wrote: > > Hello, > > > I've been running django 0.96.3 installed from the tar file for over > > half a year without problems, I'm using python 2.3.4 on CentOS 4. > > > I'm trying to upgrade to 1.0.2 from tar file and after running 'sudo > > python setup.py install' I get about 20 byte-compiling errors, they > > are all syntax errors regarding '@' or 'for'; here are the first and > > last of those errors: > > The '@' errors happen in the gis package because it uses the newer style > decorators. While Django supports Python 2.3, django.contrib.gis does > not. This is very likely a problem with the tarball distribution, as it > should be able to cope for what Django and its contrib apps support and > don't support. I'm guessing that the 'for' errors is a similar problem. > > I don't usually use setup.py when I install Django, but I'm sure there's > a way to skip the byte compiling stage, at least for the gis stuff. As > long as you don't plan on using gis, ignoring those errors won't hurt you. > > Jeff Anderson > > signature.asc > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---