Ivan Lengyel
Ivan Lengyel
> > So to wrap up. both in ipyhon and with python py5 is working, however it is not working with jupyter gui or jupyter console. This happens with both,...
> Some more things to try in Jupyter notebooks: > > ```python > import jpype > > jpype.startJVM() > > print(jpype.isJVMStarted()) > ``` > If this fails, then this is...
> import py5_tools > py5_tools.get_jvm_debug_info() Well, I have some news, I just created a new env. Reinstalled everything from scratch with Java17 activated (instead of 21) at the moment of...
> ```python > jars = py5_tools.get_classpath().split(':') > ``` I think we have something here (or the absence of something XD ) ```bash In [4]: import py5_tools In [5]: py5_tools.get_jvm_debug_info() Out[5]:...
> No, the classpath doesn't get set until the JVM starts, and since it crashes for you in Jupyter, you can't get the classpath by using Jupyter. Sorry if that...
> > Well, I have some news, I just created a new env. Reinstalled everything from scratch with Java17 activated (instead of 21) at the moment of the installation. >...
Also, doing some research I found - https://github.com/jupyterlab/jupyterlab/issues/12164 - https://github.com/matplotlib/matplotlib/issues/22545 - https://github.com/ipython/ipykernel/issues/1124 which might be related. With my current venv `%matplotlib osx` also makes the kernel crash. So it might...
Apparently this is a iPython kernel problem. There is a [proposed solution](https://github.com/jupyterlab/jupyterlab/issues/12164#issuecomment-2109499070) to address the problem. Let see what happens when this is merged.
[merged](https://github.com/ipython/ipykernel/pull/1237). When I have some time I test the latest release `6.29.5` to find out if it is working.
Yes, seems to be working 🥳 🎉