lint lint - 1 year ago 151
Python Question

IPython cell magics?

My IPython Notebook (IPython 3.1.0, Python3.4, windows7) shows all the magics I would expect when I do

, however when I try to run the
magic, I get an error:
Couldn't find program: 'python2'
, do I have to set an environment variable for the cell magic?

Answer Source

You need to have Python 2 installed on your machine. When you type:


on the command line Python 2 has to a start.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download