Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2 --enable-shared
    this will create a shared library.. however we also want a python executable built against the static library - so we need to repeat this procedure without --enable-shared turned on.
  2. Execute make
  3. Execute make install
  4. Leave and erase the current directory (Python-2.7.2)
  5. Wiki Markupinstall additional python modules the same way as python 2.7.1 instruction. As for matplotlib, most of matplolib unit tests requires functions from PIL imaging module which in turn requirez zlib.crc32 which has been an issue for us. After consulting with the users, we agreed that if in the future the users start to use functions in PIL, we will come back to re-visit the PIL issue again. For now, we will just skip the PIL module installation as we always have. Also there is a Scipy unit test need to be fixed after the Scipy installation. Edit scipy/stats/tests/test_morestats.py, change line #10 from "assert_raises" to "assert_raises, assert_" and change line #72 from "assert_array_less(crit\[:-1\], A)" to "assert_(A > crit\[-1\])".

distribute 0.6.21 for use with pip

...

  1. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2 --enable-shared
    this will create a shared library.. however we also want a python executable built against the static library - so we need to repeat this procedure without --enable-shared turned on.
  2. Execute make
  3. Execute make install
  4. Leave and erase the current directory (Python-2.7.2)
  5. Wiki Markupinstall additional python modules the same way as python 2.7.1 instruction. As for matplotlib, most of matplolib unit tests requires functions from PIL imaging module which in turn requirez zlib.crc32 which has been an issue for us. After consulting with the users, we agreed that if in the future the users start to use functions in PIL, we will come back to re-visit the PIL issue again. For now, we will just skip the PIL module installation as we always have. Also there is a Scipy unit test need to be fixed after the Scipy installation. Edit scipy/stats/tests/test_morestats.py, change line #10 from "assert_raises" to "assert_raises, assert_" and change line #72 from "assert_array_less(crit\[:-1\], A)" to "assert_(A > crit\[-1\])".

distribute 0.6.16 for use with pip

...

  1. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2/gcc34 --enable-shared
  2. Execute make
  3. Execute make install
  4. Leave and erase the current directory (Python-2.7.2)
  5. Wiki Markupinstall additional python modules the same way as python 2.7.1 instruction. As for matplotlib, most of matplolib unit tests requires functions from PIL imaging module which in turn requirez zlib.crc32 which has been an issue for us. After consulting with the users, we agreed that if in the future the users start to use functions in PIL, we will come back to re-visit the PIL issue again. For now, we will just skip the PIL module installation as we always have. Also there is a Scipy unit test need to be fixed after the Scipy installation. Edit scipy/stats/tests/test_morestats.py, change line #10 from "assert_raises" to "assert_raises, assert_" and change line #72 from "assert_array_less(crit\[:-1\], A)" to "assert_(A > crit\[-1\])".

distribute 0.6.16 for use with pip

...