jupyter-xeus / xeus-python

Jupyter kernel for the Python programming language
BSD 3-Clause "New" or "Revised" License
420 stars 72 forks source link

0.17.0 conda installation #628

Open WhiteSymmetry opened 4 weeks ago

WhiteSymmetry commented 4 weeks ago

0.17.0 conda installation: Gives kernel error in some code ([XPythonShellApp] WARNING | Unrecognized alias: 'f', it will have no effect. ERROR: received bad message: No such comm registered: 6ffe0564-7584-4ff8-81a0-aed14a935ff5 Message type: comm_msg) conda install conda-forge::xeus-python[version="0.17.0"] -y (It is only compatible with the code (import multiprocessing), in other versions (from concurrent.futures import ThreadPoolExecutor; numba; jax: But it works normally in these modules alone) it closes the kernel: The kernel for ***.ipynb appears to have died. It will restart automatically.) but conda install conda-forge::xeus-python[version="0.16.0"] -y In the same codes, conda 0.16.0 and pip installations (0.15.2, etc.) also work without errors.

System: Ubuntu 24.04 Python: 3.11.9

martinRenou commented 3 weeks ago

Can you elaborate on this issue?

Are you seeing the kernel not working? ([XPythonShellApp] WARNING | Unrecognized alias: 'f', it will have no effect.) is just a warning, not sure where it's coming from but that should be harmless

WhiteSymmetry commented 3 weeks ago

Kernel Restarting The kernel for ***.ipynb appears to have died. It will restart automatically.

This only happens in a code that contains many modules, but I couldn't find exactly which module it is incompatible with.