Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.18 KB

IDL/GDL kernel for IPython/Jupyter

Binder

Demo: Notebook on Binder.

This package is originally from github.com/lstagner/idl_kernel and modified to work with Python 3.9. This repository also makes use of GDL to run IDL/GDL codes in Jupyter lab. This requires the following component:

  • apt.txt for apt-installing the gnudatalanguage (gdl) component.

The current version was found to work with pexpect 4.6, jupyter 4.4, and jupyter-notebook 5.7. IDL also has an official Jupyter kernel.

To install:

This requires IPython >3.0 and Pexpect 3.3

python setup.py install --prefix=~/.local

This should make an IDL directory containing the kernelspec in the ~/.ipython/kernels directory.

To run:

ipython console --kernel IDL 

or

ipython qtconsole --kernel IDL

or

jupyter notebook 
#Select kernel from dropdown menu