[Python] MacOS - Pty Host Disconnected VS Code

Discussão em 'Python' iniciado por Stack, Março 13, 2025.

  1. Stack

    Stack Membro Participativo

    I am using VSCode to execute Python Code inline. The execution seems to work fine if I execute line by line or couple of lines of code. Once I execute multiple code blocks the terminal gets unresponsive and then disconnects with error pty host disconnected

    There is an existing question but the solution doesn't seem viable because even after I reconnect I have to start all over again as all the variable are gone. The same code works fine on a Windows machine.

    What can be done to resolve this issue?

    Other Details:

    VS Code version: 1.97.0
    MacOS: Sequoia 15.3
    Apple Silicon M4

    Continue reading...

Compartilhe esta Página