Re: Does Django have to run with Python-2.5 ?

2009-06-17 Thread Michael
On Wed, Jun 17, 2009 at 12:44 PM, Shuge Lee <shuge@gmail.com> wrote:

>
> Does Django have to run with Python-2.5 ?
>
>
> l...@lab ~/online $ python2.6 manage.py runserver
> Traceback (most recent call last):
>  File "manage.py", line 2, in 
>from django.core.management import execute_manager
> ImportError: No module named django.core.management
> l...@lab ~/online $
>

Nope. It can run on 2.6, however your python 2.6 is going to have a
different python path than your python 2.5 and you will need to put Django
on that path or reinstall Django using 2.6.

Hope that helps,

Michael

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Does Django have to run with Python-2.5 ?

2009-06-17 Thread Shuge Lee

Does Django have to run with Python-2.5 ?


l...@lab ~/online $ python2.6 manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 2, in 
from django.core.management import execute_manager
ImportError: No module named django.core.management
l...@lab ~/online $

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Does Django have to run with Python-2.5 ?

2009-06-17 Thread Alex Gaynor
On Wed, Jun 17, 2009 at 11:44 AM, Shuge Lee <shuge@gmail.com> wrote:

>
> Does Django have to run with Python-2.5 ?
>
>
> l...@lab ~/online $ python2.6 manage.py runserver
> Traceback (most recent call last):
>  File "manage.py", line 2, in 
>from django.core.management import execute_manager
> ImportError: No module named django.core.management
> l...@lab ~/online $
>
> >
>
No, django works with any python from 2.3-2.6 (including Jython, PyPy, and
Unladen Swallow).  Your problem is probably that you have django in your
site-packages for 2.5 only.  You can either add the symlink to 2.6, or use
the PYTHONPATH env var.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Does Django have to run with Python-2.5 ?

2009-06-17 Thread Shuge Lee

Does Django have to run with Python-2.5 ?


l...@lab ~/online $ python2.6 manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 2, in 
from django.core.management import execute_manager
ImportError: No module named django.core.management
l...@lab ~/online $

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---