Spyder IDE gets stuck

Hi, I am using the Spyder IDE on Linux, and the console gets stuck right away. Clicking the “x” does not stop the window.

I managed to get around this problem using this site: https://stackoverflow.com/questions/57408620/cant-kill-pyqt-window-after-closing-it-which-requires-me-to-restart-the-kernal