Has anyone had this problem before? I get the below error message when I try to run a Python script in Spyder IDE while using NVIDIA Nsight Systems.
CommError: Can't make a request to a closed comm
Apparently the restart kernel functionality doesn't work properly. You can stop that kernel and open up a new console, this triggers the init of a new kernel without restart the whole program (Spyder 4)
Does this error occurs when trying to generate plots? If so, I was also in such a situation and this works for me:
Preference > IPython console > Graphic: Check "Graphic Backend" is set to Automatic
View > Panes > Plots: Check that "Mute inline plotting" is checked and view your plots using this pane afterward.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With