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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'scripts': 0.03; 'startup': 0.05; 'modified': 0.07; 'subject:Question': 0.07; 'apache,': 0.09; 'subject:modules': 0.09; 'way:': 0.09; 'python': 0.11; '2.7': 0.14; 'collections': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'invocations': 0.16; 'subject: \n ': 0.16; 'subject:Hat': 0.16; 'url:redhat': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'app': 0.19; 'install': 0.23; 'header:User-Agent:1': 0.23; 'integrate': 0.24; 'file.': 0.24; 'environment': 0.24; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'interface': 0.32; 'linux': 0.33; 'entirely': 0.33; "can't": 0.35; 'done.': 0.35; 'but': 0.35; 'url:org': 0.36; 'project': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'is.': 0.60; 'break': 0.61; 'you.': 0.62; 'such': 0.63; 'here': 0.66; 'reply': 0.66; 'default': 0.69; 'special': 0.74; 'commands.': 0.84; 'subject:Red': 0.84; 'url:03': 0.84; 'url:2014': 0.84; 'sourcing': 0.91
X-Virus-Scanned amavisd-new at torriefamily.org
Date Sat, 15 Nov 2014 10:13:57 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: Question about installing python and modules on Red Hat Linux 6
References <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com>
In-Reply-To <2e88d2e2-bde6-4d8f-8f2f-06d6a9676ee4@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15852.1416071645.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416071645 news.xs4all.nl 2881 [2001:888:2000:d::a6]:41353
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80832

Show key headers only | 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