Leif160519的blog Leif160519的blog

——————

目录
mac上IDLE打不开,提示IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall
/  

mac上IDLE打不开,提示IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall

在Mac上安装Python2.7后,启动IDLE后会报错。报错信息如下:

IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection.

修改如下,修改文件:
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/idlelib/pyshell.py

********
def main():
    global flist, root, use_subprocess
    use_subprocess = True
    enable_shell = True
    enable_edit = False
    debug = False
    ********

use_subprocess = True修改为:
use_subprocess = False
代码在第1379行,可以用vi :set number显示行号


“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill

标  题mac上IDLE打不开,提示IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall
作  者Leif160519
出  处https://github.icu/articles/2019/10/08/1570523449656.html
关于博主:坐标南京,运维工程师,如有问题探讨可以直接下方留言。
声援博主:如果您觉得文章对您有帮助,可以评论、订阅、收藏。您的鼓励是博主的最大动力!