Friday, April 28, 2006

Get ipython in analysis

  1. download ipython
  2. extract to your ccpnm directory tar ipython-0.7.1.fix1.tar.gz
  3. go to tar ipython-0.7.1
  4. type install where is the python you used to install analysis
  5. edit $CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/analysis/
  6. at about line 52 after import Tkinter put import IPython on a new line
  7. at about line 105 add:
    from IPython.Shell import IPShellEmbed

    ipshell = IPShellEmbed()


No comments: