Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

579
Views
VSCode fails to run python with this error: Error: Session cannot generate requests

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?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

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.

over 4 years ago · Santiago Trujillo Report

0

You might get this error because your script has run exit(). Remove that and rerun, and you should be fine.

over 4 years ago · Santiago Trujillo Report

0

Exit the VS Code and reopen it.

It worked for me!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!