'ModuleNotFoundError for IPython QtConsole in wx app:
I'm trying to get this tutorial to run: https://github.com/jupyter/ngcm-tutorial/blob/master/Part-1/Embedding/ipkernel_wxapp.py
From the description: "This trivial GUI application internally starts an IPython kernel, to which Qt consoles can be connected either by the user at the command line or started from the GUI itself, via a button. The GUI can also manipulate one variable in the kernel's namespace, and print the namespace to the console."
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 an ImportError: 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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
