You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step1) install bz2 in Slicer's Python Installation -script below works in python
a) Look up location of bz2 file on local python
python -c "import bz2; print bz2.file"
b) Look up dir in Slicer python
Slicer-build/Slicer --xterm
DIR=dirname $(${PYTHONHOME}/bin/python -c "import array; print array.__file__")
c) cp <FILE of Step a)> ${DIR}/bz2.so
e.g. cp /usr/lib/python2.7/lib-dynload/bz2.x86_64-linux-gnu.so ${DIR}/bz2.so
d) Test that it works
${PYTHONHOME}/bin/python -c "import bz2; print bz2.doc"
Step 2: install nibabel in python
a) download nibabel 1.3
https://github.com/nipy/nibabel/archive/1.3.0.tar.gz
and untar
b) go to nibabel directory and execute
cd /data/software/nibabel-1.3.0/
${PYTHONHOME}/bin/python setup.py install
c) ${PYTHONHOME}/bin/python -c "import nibabel; print nibabel.doc"