How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7

36 views
Skip to first unread message

SHINTO PETER

unread,
Feb 19, 2015, 8:27:42 AM2/19/15
to django...@googlegroups.com
How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7 

Vijay Khemlani

unread,
Feb 19, 2015, 8:42:16 AM2/19/15
to django...@googlegroups.com
you can compile python locally

On Thu, Feb 19, 2015 at 10:27 AM, SHINTO PETER <shint...@gmail.com> wrote:
How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8feed982-d4e5-41a4-a1f5-463589711961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tom Lockhart

unread,
Feb 19, 2015, 9:14:08 AM2/19/15
to django...@googlegroups.com
On Feb 19, 2015, at 5:27 AM, SHINTO PETER <shint...@gmail.com> wrote:

How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7 

Use virtualenv to select and install python 2.7 from your existing installation into a separate place. There is a redhat package for virtualenv. Then use pip (which will be installed in that separate place) to install all of the other python packages.

You can use an existing postgres installation but I’d recommend configuring a new data area for it.

hth

Tom

Matthias Runge

unread,
Feb 19, 2015, 11:51:53 AM2/19/15
to django...@googlegroups.com
On 19/02/15 14:27, SHINTO PETER wrote:
> How to install django in redhat where i have python 2.6 and 2.7 and i
> need to install django in python 2.7
>
Do you have the possibility to upgrade to RHEL 7? That has python2.7 on
board.
Btw. there is a Django-1.6 package for RHEL7 on EPEL package repository.

Matthias

Tom Evans

unread,
Feb 19, 2015, 12:04:31 PM2/19/15
to django...@googlegroups.com
On Thu, Feb 19, 2015 at 1:27 PM, SHINTO PETER <shint...@gmail.com> wrote:
> How to install django in redhat where i have python 2.6 and 2.7 and i need
> to install django in python 2.7
>

You use scl:

http://developerblog.redhat.com/2013/02/14/setting-up-django-and-python-2-7-on-red-hat-enterprise-6-the-easy-way/

Cheers

Tom
Reply all
Reply to author
Forward
0 new messages