Impossible to interrupt Python Console cell execution


In Pycharm's scientific mode (I'm using the latest pro version), If I run some computing in a code cell and interrupt it by clicking cancel (this is different from stopping the Python console, which I do not want to do, since that would delete all the dataframe that I read in before that code cell), then the computation actually doesn't stop.

Even worse, afterwards I cannot run a single code cell anymore, as it says "Previous execution still running" - yet the Python console is responsive nonetheless.

Is this a bug? Is there really no way to stop the execution of a code cell? This is super simple in Jupyter where if I click "interrupt kernel" it *immediately* stops the execution and I can relaunch a different task without having to reload all my variables etc.; this should also be possible in Pycharm.

Please see the GIF-video below - it illustrates more clearly the problem of the execution not interrupting and preventing further code cells from execution: 

(the video is a minute and a half long - if you want to see if from the beginning, just refresh your page)



Hi Eikama,

This seams to be a bug indeed. I have filed it to our issue tracker for an investigation, please attach your logs folder zipped (Help | Show Log in...) to the issue and follow for future updates. 

See if you are not familiar with YouTrack.


I have the same problem now.

working with

PyCharm 2019.1.1 (Professional Edition)
Build #PY-191.6605.12, built on April 3, 2019
Licensed to [i have deleted this info - but is licensed :) ]
Subscription is active until February 27, 20xx
JRE: 11.0.2+9-b159.34 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Thanks for your support.


Please sign in to leave a comment.