Thursday, December 30, 2010

Re: django using wrong python???

Are you having this problem with Django development server, or with a production type hosting setup such as mod_wsgi?

Need to know which.


On Friday, December 31, 2010 1:34:22 AM UTC+11, yelbuke wrote:

I'm on centos and have two pythons 2.5 and 2.6.

I tried in

from fractions import Fraction

and got the error: No module named fractions

But when i use shell and type "from fractions import Fraction" it's OK, it uses python2.6 installation.

How can i modify django installation to use python2.6???

I already defined alias in bash_profile for python2.6, but it seems it doesnt work for django.


You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment