zjuhasz
zjuhasz

Reputation: 1549

How do I get IntelliJ/PyCharm to recognize an active IPython kernel?

I have used Jupyter notebooks for some time now without any problems. However I use IntelliJ for pretty much all my programming and wanted to try out moving my ipython workflow into IntelliJ. I followed the instructions provided here and everything seems to work fine except when I go to run a cell it keeps trying to start the kernel even though the kernel should already be running.

IntelliJ screenshot

I can use the kernel in Jupyter like normal when I follow the link, but I can not use it from IntelliJ.

Upvotes: 10

Views: 1149

Answers (2)

zjuhasz
zjuhasz

Reputation: 1549

I got in touch with Jetbrains support and they told me this was a known issue with their Jupyter integration. However the latest version of the python plugin for IntelliJ seems to have fixed the issue.

https://youtrack.jetbrains.com/issue/PY-22032

Upvotes: 1

Nikolay Osaulenko
Nikolay Osaulenko

Reputation: 1482

To make it work you should select a right interpreter in Project Settings. Seems like jupyter is installed on your system interpreter. Meanwhile it is recommended to use venv with pycharm(and python in general). If you created venv than you need to select python interpreter from that venv and it should do the job.

Upvotes: 3

Related Questions