I am trying to run python in vscode and it has been working for a few hours but it suddenly stopped running and now whenever i run it i get this error:
Error: Session cannot generate requests at w.executeCodeCell
I am connecting to a garmin account where i pull the sleeping data and trying to plot it on a graph which worked but now it has stopped working and giving me the above error.
How would i fix this?
Try to restart the Kernel.
Everytime I am facing this issue myself, it was because the kernel was loosing the connection and had to be restarted.
You might get this error because your script has run exit()
. Remove that and rerun, and you should be fine.
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