I'm trying to configure a RHEL6 server to allow multiple users to run multiple versions of Python, multiple versions of various python modules, and multiple versions of various other programs (e.g. gcc). I believe the appropriate way to do this is to use environment-modules and virtualenv. I'm familiar with virtualenv, but I'm confused about using environment-modules.
I installed Python 2.7.3 with:
# ./configure --prefix=/usr/local # make && make altinstall
and I can easily enough run Python 2.7.3 with:
I thought I could simply use my module file to preprend my
PATH environment variable with
/usr/local/python-2.7 but there is not
python binary in
/usr/local/python-2.7, only a binary called
Am I missing something? How do I use an environment-modules module file to use Python 2.7?