Thanks for all the comments everyone, it's a great help. Yes I have more than one python installed, when I got the server it had python2.4 and I read the latest django stopped supporting 2.4 so I installed python2.7 after reading this(also it said not to delete python2.4 because 'yum' needs it to survive). But I had already installed django when I just had 2.4. So I reinstalled django after installing python2.7, but it is still obviously pointing to wrong python version.
Is it now just a matter of me changing the top line in my 'django- admin.py' file to point to correct python version, something like?... #! /path/to/python2.7/env python2.7 If yes, how do I find correct path to python2.7 because I changed it to where I have python2.7 and it tells me "bad interpreter: No such file or directory" Thanks again. On Jul 3, 12:18 pm, bruno desthuilliers <bruno.desthuilli...@gmail.com> wrote: > On 2 juil, 21:57, Phil <phil...@gmail.com> wrote: > > > When I type "import functools" into the python > > interpreter I get no errors back either. I can't make it out. > > see my other answer - either you're not invoking the right Python (if > you have more than one) or something messes with your sys.path. > functools was added in Python 2.5, so if you do have a 2.4 version > installed and django-admin ends up invoking Python 2.4 you're problem > is almost solved. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.