Question about installing python and modules on Red Hat Linux 6

Michael Torrie torriem at gmail.com
Sat Nov 15 12:13:57 EST 2014


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.





More information about the Python-list mailing list