Search code examples
pythonipythonconsole2

How do you get iPython to run on Console2?


How do you really get iPython to run on Console2? The instructions on the iPython site are not correct: http://ipython.scipy.org/moin/IpythonOnConsole. (it says the Shell needs to be set to: cmd.exe /k "ipython") I verified that python.exe is in my Path, etc. and I still get errors when I open an iPython tab saying ipython is not recognized.


Solution

  • I figured it out: the Shell in the tab settings actually needs to be set to this:

    cmd.exe /k "<my python path>\Scripts\ipython.py -p sh"
    

    Where "< my python path >" is the dir of your python installation, such as "C:\Python26".

    I added a page to the new wiki and added a link to it in the cookbook.