Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80832

Re: Question about installing python and modules on Red Hat Linux 6

Date 2014-11-15 10:13 -0700
From Michael Torrie <torriem@gmail.com>
Subject Re: Question about installing python and modules on Red Hat Linux 6
References <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.15852.1416071645.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 11/14/2014 08:01 PM, pythonista wrote:
> The scope of the project was to install python 2.7.8 and 4 modules/site packages on a fresh linux build.

I neglected to put the URL for software collections in my reply to you.
Here it is.

https://www.softwarecollections.org/en/scls/rhscl/python27/

Note that the infrastructure team will have to learn how to interface
with it, since, as a software collection, it's not going to be in the
path by default (because it would conflict).  Any startup scripts or
other invocations of your app will have to be modified to acquire the
python 2.7 special environment, by sourcing the python 2.7 collection's
enable file.  I'm not entirely sure how to integrate it with Apache, but
I know it can be done.

If it's a package that won't conflict, such as Python 2.4, you can
permanently integrate it into the environment this way:
http://developerblog.redhat.com/2014/03/19/permanently-enable-a-software-collection/
-- but I can't recommend this for python 2.7 as it would break a lot of
RHEL 6's commands.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Question about installing python and modules on Red Hat Linux 6 pythonista <software.by.python@gmail.com> - 2014-11-14 19:01 -0800
  Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-15 16:09 +1100
  Re: Question about installing python and modules on Red Hat Linux 6 Cameron Simpson <cs@zip.com.au> - 2014-11-15 16:11 +1100
  Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 02:15 +1100
    Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-15 15:45 +0000
      Re: Question about installing python and modules on Red Hat Linux 6 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-16 12:08 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 12:32 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 18:57 -0700
        Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-16 13:23 +1100
        Re: Question about installing python and modules on Red Hat Linux 6 Grant Edwards <invalid@invalid.invalid> - 2014-11-16 16:28 +0000
          Re: Question about installing python and modules on Red Hat Linux 6 Chris Angelico <rosuav@gmail.com> - 2014-11-17 09:16 +1100
    Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:05 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:02 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:13 -0700
  Re: Question about installing python and modules on Red Hat Linux 6 Michael Torrie <torriem@gmail.com> - 2014-11-15 10:23 -0700

csiph-web