You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing InlineGUI within a jupyter notebook can trigger a ModuleNotFoundError due to missing notebook package.
To reproduce
Steps to reproduce the behavior:
Install jupyter
Launch jupyter
In a separate environment, install nengo-gui and ipykernel
Add the nengo-gui environment as a jupyter ipykernel, e.g., python -m ipykernel install --user --name nengo-gui --display-name "Nengo-GUI" if nengo-gui is the name of the environment containing NengoGUI.
In jupyter, select the nengo-gui kernel, and run:
import nengo
model = nengo.Network()
from nengo_gui.ipython import InlineGUI
InlineGUI(model)
Expected behavior
I expected no error. Perhaps pip install nengo-gui[optional] should pull in the notebook. Or there should be instructions for using InlineGUI somewhere.
Screenshots
N/A
Versions
OS: N/A
Browser: N/A
Nengo GUI: 0.4.6
Other: N/A
Additional context
Using conda on a relatively fresh environment with conda install jupyter, and then adding the kernel to jupyter.
The text was updated successfully, but these errors were encountered:
Describe the bug
Importing
InlineGUI
within a jupyter notebook can trigger aModuleNotFoundError
due to missingnotebook
package.To reproduce
Steps to reproduce the behavior:
nengo-gui
andipykernel
python -m ipykernel install --user --name nengo-gui --display-name "Nengo-GUI"
ifnengo-gui
is the name of the environment containing NengoGUI.Expected behavior
I expected no error. Perhaps
pip install nengo-gui[optional]
should pull in thenotebook
. Or there should be instructions for usingInlineGUI
somewhere.Screenshots
N/A
Versions
Additional context
Using
conda
on a relatively fresh environment withconda install jupyter
, and then adding the kernel to jupyter.The text was updated successfully, but these errors were encountered: