Python error - IDLE's subprocess didn't make connection. Either IDLE can't start or personal firewall software is blocking connection

前端 未结 11 1998
花落未央
花落未央 2021-02-07 04:12

I am new to programming and i decided to learn Python first, so;

I installed Python, latest version 3.4. and I am trying to open Python IDLE(GUI) mode, so when I open I

11条回答
  •  孤城傲影
    2021-02-07 04:43

    Just to note my particular issue, this happens for me when my RAM gets full and my CPU gets busy.

    The problem is because of a network socket timeout on the IPC pipes between the RPC subprocess.
    It's a poor design (insecure and prone to failure) that's commonly used for IPC instead of process pipes.

    The fix is to clear out some RAM and CPU usage and wait a minute before trying again.
    And for developers, the fix is to stop using sockets for IPC and use proper process pipes.

    Yes, it's the same exact socket timeout issue you experience with your browser, though on modern browsers, the page just stops loading instead of displaying a timeout error screen.
    (note this assumes the case of a good WAN connection, with a local timeout)

提交回复
热议问题