How to use IPython with IronPython
Asked Answered
A

2

9

What is the procedure to get IPython to use IronPython as it's Python interpreter?

I know there were previously some issues: What is required to use ipython in ironpython?

But now that these issues should be fixed, how do i actually go about this?

The install doesn't detect IronPython as a version of the Python interpreter, not that I thought it would. But I'm wondering how to do this.

I'd (ideally) like the ability to run both the CPython and IronPython versions of IPython on the same machine.

Agna answered 4/12, 2009 at 21:7 Comment(0)
J
0

The IPython script that installs on my system in /usr/bin/ipython is only two lines of code to invoke the interpreter:

from IPython import start_ipython
start_ipython()

So run that under IronPython and see how it works.

But as of February 2011, it looks like there were still problems: http://groups.google.com/group/ironpy/browse_thread/thread/b90273c618e38763?pli=1

EDIT: It works now, see their instructions.

Jonis answered 7/5, 2011 at 13:4 Comment(2)
It should now be import IPython; Python.embed()Paradigm
Just updated it to the latest code I see on my system ("start_ipython()").Jonis
M
2

It now works as of IronPython 2.7.3 Alpha 1!

source: https://github.com/ipython/ipython/wiki/Frequently-asked-questions#wiki-q-can-ipython-run-under-ironpython

Monaghan answered 9/7, 2013 at 17:15 Comment(0)
J
0

The IPython script that installs on my system in /usr/bin/ipython is only two lines of code to invoke the interpreter:

from IPython import start_ipython
start_ipython()

So run that under IronPython and see how it works.

But as of February 2011, it looks like there were still problems: http://groups.google.com/group/ironpy/browse_thread/thread/b90273c618e38763?pli=1

EDIT: It works now, see their instructions.

Jonis answered 7/5, 2011 at 13:4 Comment(2)
It should now be import IPython; Python.embed()Paradigm
Just updated it to the latest code I see on my system ("start_ipython()").Jonis

© 2022 - 2024 — McMap. All rights reserved.