ipykernel
ipykernel copied to clipboard
IPython Kernel for Jupyter
Linking to a jupyter notebook issue which may be more appropriate here: See https://github.com/jupyter/notebook/issues/4527 Please advice on where you prefer to continue the discussion.
I'm implementing a kernel by inheriting from `ipykernel.kernelbase.Kernel`, as described at [Making simple Python wrapper kernels](https://jupyter-client.readthedocs.io/en/latest/wrapperkernels.html). That generally works well, but I have a strange problem: Occasionally I get an...
As seen below, Python 3.11 `ExceptionGroup` objects don't show sub-exceptions when displayed; explicitly catching and using `traceback.print_exc()` is required to see them: ``` ❯ jupyter console In [1]: exc =...
In jupyter console, trying to show a gtk4agg matplotlib plot raises > UsageError: Invalid GUI request 'gtk4', valid ones are:dict_keys(['inline', 'nbagg', 'webagg', 'notebook', 'ipympl', 'widget', None, 'qt', 'qt5', 'qt6', 'wx',...
Hi, I have a jupyter notebook cell, codes show below. ``` from concurrent.futures import ProcessPoolExecutor, wait import time executor = ProcessPoolExecutor(4) def is_odd(ns, i): print('get', ns, i) # time.sleep(10) return...
At the moment inspection of arguments in function calls is not possible as the function is inspected instead. This is because `do_inspect` relies on `IPython.utils.tokenutil.generate_tokens`: https://github.com/ipython/ipykernel/blob/c24b252dc4fc81e6cf6354f8d64ea06ed1ce3496/ipykernel/ipkernel.py#L544-L546 The behaviour of `generate_tokens`...
When executing cells in a notebook in Azure Machine learning the following message is output occasionally `Bad pipe message: %s [b'\xc6\x9c\x9b \xf2\xe6\xa7\xb2\xfc\x82\xfa\xd6\xd8\x1d\x8d>\x0c\x08\x00\x00\xa2\xc0\x14\xc0\n\x009\x008\x007\x006\x00\x88\x00\x87\x00\x86\x00\x85\xc0\x19\x00:\x00\x89\xc0\x0f'] Bad pipe message: %s [b'\xa1\x8a\xb0#\x05,\x8d\xaa+L\xfc \x1c\x97\x01'] Bad pipe...
I'd like to be able to run subprocesses in the notebook and trace their output using asyncio. I thought that since the ipykernel is now using asyncio that it should...
Hi I'm currently trying to render images in a HTML ipykernel display view in VSCode. I have two images links, one is a public facing cdn bucket on GCS and...
debugpy is quite a heavy dependency, before it was a build dependency, but now it's standard: It shows up as 28MB on disk ``` 28M /Users/maartenbreddels/venvs/solara-size1/lib/python3.9/site-packages/debugpy ``` On pypi https://pypi.org/project/debugpy/#files...