Open tcpie opened 7 years ago
OK, I can fix the issue by running ipython kernel install
. However, it is still not clear to me why I need to do this, since jupyter notebook
is working fine. Moreover, I doubt the program effectively looping itself (without me programming in a for or while loop!) is proper behaviour (in the case of my GUI program, the GUI window keeps popping up, clogging the computer).
It is a bit odd that installing the kernelspec would change the resulting behavior. That suggests that perhaps a different kernelspec is found. Maybe it has to do with the way you are changing PY_SITE_PACKAGES_PATH to a location that is not actually a site-packages directory.
Hi everybody,
I am developing a front-end for jupyter kernels in C++ using Qt as my GUI framework. My application works fine under Linux (Ubuntu 16.10 x86_64, with Anaconda3). However, when I try to run under Windows (10, x86_64, with Anaconda3), the program starts up, and then re-launches (forks?) itself indefinitely. Very annoying.
I am able to reproduce the issue with the following minimal C code: (note that you should change the PY_SITE_PACKAGES_PATH define to fit your system).
Under Linux, the program output is:
Under Windows, the output is:
Repeating indefinitely. I checked under Windows to see if my kernel spec was OK.
jupyter kernelspec list
returns:Under Windows, I can also start a Jupyter notebook session, using the
jupyter notebook
command, without any issue. I'm not sure what I'm doing wrong here.