On Jul 3, 5:46 pm, Phil <[email protected]> wrote: > 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).
Yeps, uninstalling your system's Python is usually a *very* bad idea (unless you want a broken system, of course). > 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 how did you install python 2.7 ? Also and FWIW, this has nothing to do with django so this discussion would be better on comp.lang.python HTH -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

