[IPython-dev] Where does IPython look for info when trying to connect to kernel

klo uo klonuo at gmail.com
Fri Jul 15 02:22:51 EDT 2016


I start kernel:

========================================
> ipython kernel
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing kernel-10128.json
========================================

Where is "kernel-10128.json" located?

I dont see it in ~/.ipython/profile_default/security nor anywhere in
~/ipython subfolders nor in temp location.

If I try with `ipython console --existing` I connect successfully, but not
from IPython instance that I point to custom path with IPYTHONDIR env (path
that kernel instance is using).

If last sentence is confusing, ignore it, I'm just interested where is this
file located?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160715/2afb406c/attachment.html>


More information about the IPython-dev mailing list