Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot locate json connection file created by ipython kernel

I'm using ipython 4.1.2 (installed via Anaconda). I locate the profile location (which is the default)

ipython locate profile
/home/myname/.ipython/profile_default

ipython kernel runs fine, saying

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

However, when I look inside /home/myname/.ipython/profile_default/security, it is entirely empty.

What's the issue here?

like image 887
Heisenberg Avatar asked Nov 03 '25 02:11

Heisenberg


1 Answers

Connection files now live in a different location, because they are a component of the Jupyter architecture, rather than an IPython specific thing. The exact location depends on your system, but you can find it by running:

jupyter --runtime-dir

Or in Python code, call:

jupyter_core.paths.jupyter_runtime_dir()
like image 76
Thomas K Avatar answered Nov 04 '25 19:11

Thomas K



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!