Skip to content

Commit

Permalink
Merge pull request spyder-ide#83 from CAM-Gerlach/fix-runtime-dir
Browse files Browse the repository at this point in the history
PR: Update Jupyter runtime dir command to simpler and correct version
  • Loading branch information
ccordoba12 authored Sep 20, 2018
2 parents e00348d + 67c81a6 commit 71dbcf9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions doc/ipythonconsole.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ To connect to an external kernel,

#. Copy the connection file (:file:`{runtime-dir}/kernel-{pid}.json`) to the machine you're running Spyder on (if remote) or note its location (if local).

You can get the location of :file:`{runtime-dir}` by starting an IPython interpreter in the same Python environment as the kernel and running:

.. code-block:: python
import jupyter_core
jupyter_core.paths.jupyter_runtime_dir()
You can get the :file:`{runtime-dir}` path by executing ``jupyter --runtime-dir`` in the same Python environment as the kernel.

#. Click :guilabel:`Connect to an existing kernel` from the :guilabel:`Console` menu or the :guilabel:`IPython Console` pane's "Gear" menu.

Expand Down

0 comments on commit 71dbcf9

Please sign in to comment.