Table of Contents |
---|
2.7.6
redhat5-i686-32bit-gcc41 & redhat5-x86_64-64bit-gcc41 & redhat6-x86_64bit-gcc44
- Obtain python source from python.org
- Ungzip/Untar source
- Change directory to Python-2.7.6
edit setup.py, in detect_modules() change the lines from:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')to:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
add_dir_to_list(self.compiler.library_dirs, '/usr/lib')
add_dir_to_list(self.compiler.include_dirs, '/usr/include')- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat5-i386-32bit-gcc41/python/2.7.6
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.6)
...
https://virtualenv.pypa.io/en/latest/virtualenv.html#installation
pip install virtualenv
How to use: http://docs.python-guide.org/en/latest/dev/virtualenvs/
iPython - 2.0.0
We do not distribute IPython any long due to ongoing issues with hard-coded paths associated with IPython. Instead, we manually create the tar.gz file and copy it over to u35, then install IPython for use at SLAC in the GLAST_EXT copy.
...