解决pythonidle启动时SubprocessStartupError

分类: python |
自从上次记得那是2018年5月安装了python3.6,今年因疫情网上上课,为了提高速度,重装了系统,把python3.6程序消灭了。
高三高考成绩昨日揭晓,特别的高三,特别的付出,特别的收成。
前行的脚步永不停止,接下来,今日开启学习python,准备重装,今天下载了python3.7,在安装的过程中遇到了问题,经过摸索,问题终于解决了。
方法/步骤
启动idel时报Subprocess Startup Error错误
错误信息
IDLE's subprocess didn't make connection.Either IDLE cant't start a subprocess or personal firewall software is blocking the connection.
打开控制面板选项,在控制面板中打开系统安全设置
https://img.kanzhun.com/images/seo/mianshiti/20191125/1324ef32e6729f950c434975cbfa835b.jpg
在系统安全防火墙设置中选择允许程序通过windows防火墙
https://img.kanzhun.com/images/seo/mianshiti/20191125/16034c5e72a46087ba26cebccd4c68f9.jpg
选择允许运行另一程序
https://img.kanzhun.com/images/seo/mianshiti/20191125/4af340a8500a886b7cf030fd7f2629a2.jpg
点击浏览选择python安装目录下的pythonw.exe文件后点击添加按钮将pwthonw.exe添加到防火墙允许列表
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\phthonw.exe