Open stupidus89 opened 6 years ago
Someone else had this issue and made a fix for a future release of jupyter_client - see https://github.com/jupyter/jupyter_client/pull/346 .
In the meantime, if you find the kernel spec for your kernel, you can modify the JSON to point to pythonw.exe
instead of python.exe
.
I was trying to run jupyter notebook on my Windows 10 machine without having a pointless terminal window cluttering up space on my taskbar. So, I modified the shortcut for the jupyter notebook to use
pythonw.exe
instead ofpython.exe
. This is working so far, no terminal window is opened. However, when I open a notebook from the browser, an empty terminal window with the title python.exe spawns. I assume, this is because the python kernel that is started usespython.exe
instead ofpythonw.exe
.As a workaround I deleted/moved
python.exe
and renamedpythonw.exe
topython.exe
in my anaconda install. Of course, this is only a valid solution as long as I only use anaconda for jupyter notebooks.Is there a way to configure the jupyter kernel to use
pythonw.exe
instead ofpython.exe
?