PyCharm Community "Run with python console" causes Qt freeze?

Hi all,

I am new to PyCharm, and trying to set it up so I can run a script in a new IPython console. In "Edit configurations" I have checked "Run with python console", which achieves this goal. However, when I run any script attempting to show a Qt window, the window is frozen / not responding. For example:

import pyqtgraph
a = pyqtgraph.PlotWindow()

or even

import pylab
a = pylab.plot([1,2,3],[1,2,1])

leads to a frozen plot window.

In Spyder (the IDE I am trying to escape), running this would bring up an unfrozen / interactive window, and allow me to access its properties and manipulate it via the console.

Any ideas? I'm on Windows 10 with PyCharm 2022.1 community and Miniconda Python 3.9.



Comment actions Permalink

Thanks! Seems like a pretty core / basic functionality. Hope it's solved soon!


Please sign in to leave a comment.