Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

337
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório

0

Exit the VS Code and reopen it.

It worked for me!

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda