Are you having this problem with Django development server, or with a
production type hosting setup such as mod_wsgi?
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:
2010/12/30 ozgur yilmaz :
> I have Centos, and it comes with python2.4(sorry, not 2.5). I installed
> python2.6 and django is under:
I work with CentOS too but installing different python versions in
parallel seemed like a lot of unnecessary work to maintain. So I
developed
you can try ln -s python2.6 to default python, and then modify the yum
script to python2.4.
--
blog: http://chenxiaoyu.org
On Thu, Dec 30, 2010 at 10:53 PM, ozgur yilmaz wrote:
> I have Centos, and it comes with python2.4(sorry, not 2.5). I installed
> python2.6 and django
I have Centos, and it comes with python2.4(sorry, not 2.5). I installed
python2.6 and django is under:
/usr/lib/python2.4/site-packages/django
/usr/lib/python2.6/site-packages/django
i defined alias in bash_profile, so when i give "python" command from shell,
python2.6 works...
2010/12/30
Why/how have you two versions of Python installed?
Where is Django installed?
Rob
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email
Hi,
I'm on centos and have two pythons 2.5 and 2.6.
I tried in models.py:
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
6 matches
Mail list logo