Closed joyceerhl closed 1 year ago
Please could you enable logging as follows:
Jupyter->Logging
verbose
Jupyter
output panel.Works for me, please do share the verbose logs
Still repros for me, sent you logs on Slack @DonJayamanne
@joyceerhl
Ensure you install python -m pip install jupyter notebook
into the same python kernel environment and launch jupyter from there using python -m jupyter jupyter notebook
and try it ouc.
So I went and split out all the lines in that notebook, and it looks like this succeeds:
But executing this line never returns
Thanks, but that doesn't help, as I have no idea what that library does. Please could you try https://github.com/microsoft/vscode-jupyter/issues/13131#issuecomment-1480149478
Tried with Python 3.10 from the Windows store, also didn't work.
No errors in dev tools or Jupyter console.
This notebook runs in the selected Python environment as confirmed with import sys; print(sys.executable)
Weirdly, if I run python3 -m pip install jupyter notebook
from the CLI, I get a message saying that all packages are already installed, and if I rerun the k3d notebook, the cell still fails to complete. But if I run import sys; !{sys.executable} -m pip install jupyter notebook
in a notebook cell, then the cell completes. So I think the k3d library and/or the ipywidgets library have not declared a dependency on the notebook
submodule that is really required to execute that library's code. I don't think this is a Jupyter extension problem at all, probably something that needs fixing in k3d and/or ipywidgets.
robably something that needs fixing in k3d and/or ipywidgets.
Great, thanks for digging into this, will close this issue.
FYI: Instead of using python3 -m pip install
, you need to activate the python environment you are working on and then run
python -m pip install
or
Use this for virtual environments, conda envs and the like<fully qualified path to Python> -m pip install
, use the latter when dealing with globally installed python environments like Python in windows store or the like.
Testing microsoft/vscode#177719