Difference between revisions of "Slicer3:Python:ipython"

From Slicer Wiki
Jump to: navigation, search
Line 1: Line 1:
 
 
 
Install ipython
 
Install ipython
  
Line 10: Line 8:
 
../Slicer3 --launch ../../Slicer3-lib/python-build/bin/python setup.py install
 
../Slicer3 --launch ../../Slicer3-lib/python-build/bin/python setup.py install
 
</pre>
 
</pre>
 +
 +
Just a note (inorton): I had a small issue with installation due to md5 import error during setup.py. It looks like stemming from different openssl versions on the Slicer build host machine (this was installing in 3.4 binary distribution for linux). Anyway, got around it by commenting out "import md5" in the offensive utility library:  ".../ipython-0.9.1/IPython/external/path.py" md5 is only used in one service routine -- which is not called anywhere else. So should not be a problem, and works fine so far.

Revision as of 20:22, 10 July 2009

Home < Slicer3:Python:ipython

Install ipython

cd Slicer3-build
wget http://ipython.scipy.org/dist/ipython-0.9.1.tar.gz
tar xvfz ipython-0.9.1.tar.gz
cd ipython-0.9.1
../Slicer3 --launch ../../Slicer3-lib/python-build/bin/python setup.py install

Just a note (inorton): I had a small issue with installation due to md5 import error during setup.py. It looks like stemming from different openssl versions on the Slicer build host machine (this was installing in 3.4 binary distribution for linux). Anyway, got around it by commenting out "import md5" in the offensive utility library: ".../ipython-0.9.1/IPython/external/path.py" md5 is only used in one service routine -- which is not called anywhere else. So should not be a problem, and works fine so far.