IDLE's subprocess didn't make a connection

2019-04-16 13:00发布

I have tried uninstalling it and have searched other answers. None of them have worked; IDLE opens, but I can't run anything I write.

4条回答
小情绪 Triste *
2楼-- · 2019-04-16 13:22

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

Having had this problem myself I did an uninstall and created a new directory in the C drive and reinstalled in that folder, which worked for me.

查看更多
淡お忘
3楼-- · 2019-04-16 13:27

If you at the network environment then check on the secure Group (SG), to see if the user is listed under that group.

else as other had been suggested you have to have the (right click on the program the login as Admin right to enable the IDLE to run.

查看更多
Viruses.
4楼-- · 2019-04-16 13:46

This question has been asked before. Based on previous answers, I compiled a list of possible causes and solution on CPython tracker issue 25514, post of 2016-01-18.

SO question 1 Causes people have found or think they have found.

  1. Antivirus/firewall (4 people, linux iptables, Windows firewall, antivisus , so not a myth ;-)
  2. Shadow files, as described [in the issue], and in the python directory (about as common; example user file names: tkinter,py, subprocess.py).
  3. Registry problem (some people can fix, but most should re-install after complete removal).
  4. Zombie pythonw process (kill with Windows Task manager).
  5. Permissions (run as admin, though should not be needed with proper install)
  6. ?Multiple installed versions clash due to misconfiguration?

SO question 2 Add:

  1. Running after stopping run with ^C (temporary, I believe Restart Shell will fix) Call this a timing issue. I have experienced temporary connection failures myself.
  2. Modem reboot (rather obsolete answer for most of us).
  3. ?example program that reads and writes (test)

Someone somewhere reported that his problem was with network misconfiguration that affected the operation of the socket module that IDLE uses.

Last resort: start IDLE with -n command line option, as described in IDLE doc.

查看更多
够拽才男人
5楼-- · 2019-04-16 13:47

First uninstall the application.Then reinstall it BUT at the time of reinstallation try -n at the end of location adress. It worked for me, you can copy the below text and paste it at the location while installing it.

“C:\Program Files\Python32\pythonw.exe” lib\idlelib\idle.py -n

查看更多
登录 后发表回答