Creating an IDL Jupyter notebook

293 views
Skip to first unread message

Wayne Landsman

unread,
Jun 27, 2020, 7:17:51 PM6/27/20
to idl-pvwave

I am looking for any hints as to why I can't run the Jupyter notebook with IDL on my Mac.       Following the instructions 

file:///Applications/harris/idl87/help/online_help/Subsystems/idl/idl.htm#Connectivity%20Bridges/Python/IDL_Kernel.htm


everything seems to work until I get to this step


"Start the IPython (Jupyter) notebook interface using the following command from a command shell:

jupyter notebook

This starts your default web browser and loads the main notebook web page, called the "dashboard." Under the New drop-down button, are menu items Python and IDL."


Instead of menu items Python and IDL, I get menu items Python and Python (see attached screenshot)  and neither accepts IDL commands.     I checked to see if the IDL kernel.json file is being read and it appears to be


wlandsma$ ipython kernelspec list


Available kernels:

  idl        /Users/wlandsma/Library/Jupyter/kernels/IDL

  python2    /opt/anaconda2/share/jupyter/kernels/python2


And I have no problem using the Python bridge from the IDL command line 


IDL> np = Python.Import('numpy')

% Loaded DLM: PYTHON27.


I am using IDL 8.5.1 but had the same problem with IDL 8.7.3.


Thanks, --Wayne


P.S.    I am using Python 2.7 because IDL does not yet work with Python 3.7 or 3.8.    I did see, however, that the next release of IDL (V8.8) will support both Python 3.7 and 3.8


https://www.harrisgeospatial.com/Learn/Case-Studies/Case-Studies-Detail/ArtMID/10204/ArticleID/23906/Whats-New-in-ENVI-56-and-IDL-88



jupyter.png

Wayne Landsman

unread,
Jun 27, 2020, 10:23:38 PM6/27/20
to idl-pvwave


On Saturday, June 27, 2020 at 7:17:51 PM UTC-4, Wayne Landsman wrote:

I am looking for any hints as to why I can't run the Jupyter notebook with IDL on my Mac.       Following the instructions 



I should have linked to the public help page
 
Wayne
Reply all
Reply to author
Forward
0 new messages