Need to know which.
Graham
On Friday, December 31, 2010 1:34:22 AM UTC+11, yelbuke wrote:
Hi,I'm on centos and have two pythons 2.5 and 2.6.I tried in models.py:from fractions import Fractionand got the error: No module named fractionsBut 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.Thanks,
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment