ngcm-tutorial icon indicating copy to clipboard operation
ngcm-tutorial copied to clipboard

Tutorial not working: ipkernel_wxapp.py

Open yanone opened this issue 3 years ago • 1 comments

Hello,

I've been trying to get this tutorial to run, which seems to be exactly what I need for my project: https://github.com/jupyter/ngcm-tutorial/blob/master/Part-1/Embedding/ipkernel_wxapp.py

However, the problem is that one of the references files, https://github.com/jupyter/ngcm-tutorial/blob/master/Part-1/Embedding/internal_ipkernel.py, is trying to import a module which I don't have: from IPython.lib.kernel import connect_qtconsole, which yields ModuleNotFoundError: No module named 'IPython.lib.kernel'

The thing is, I have everything until IPython.lib. Only the kernel part is missing. Where do I get that from?

I installed so many modules that I lost track of them. I definitely installed jupyter, notebook, qtconsole, ipython, ipykernel.

I'm on macOS with Python 3.9, everything is installed using pip, not conda, and ideally I would like to keep it that way for simplicity of installation.

yanone avatar Mar 29 '22 10:03 yanone

Update: I got as far as finding a connect_qtconsole() here. But it calls from IPython.qt.console import qtconsoleapp, which in turn doesn't exist anymore :/

yanone avatar Mar 29 '22 15:03 yanone