DevOps | Cloud | Analytics | Open Source | Programming





How To Fix - Idle Subprocess Didnt Make Connection Error in Python ?



In this post, we will see - How To Fix - "Idle Subprocess Didn't Make Connection" error in Python. Did you ever face this mind-numbingly stupid issue - whenever you try to access Python GUI  -


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

IDLE's subprocess didn't make connection. 
See the 'startup failure' section of the IDLE doc online

Note that - Idle is Python's GUI built with tkinter package - having two window types - shell window and the editor window. There are certain checks and inspections that you can do to fix this issue -  

Check :

  • Run Idle from a the command console or terminal and check what it says or if it still results in an error.

    • From the command line -

$ python3 -midlelib  <-- python 3.x
$ python -idlelib.idle <--- python 2.x



    • From code -

import idlelib.PyShell
idlelib.PyShell.main()

 

Check :

  • Does the python program file that you are trying to run i.e. your .py file bear the name (RESERVED NAME) which is same as some standard python library or package file ? If so then Idle will be in an ambiguous state as to how to or in fact which .py file to import ?
  • Rename your python file to something very absurd or unique e.g. blahblahblah.py or may be <your_name.py> . And then try to use Idle again and see if that works.
  • It is a good practice to name your .py code files to something which is less likely to have a common name belonging to a typical python package. AVOID Standard names like -  string.py, math.py, tkinter.py, random.py etc.
 

Check :

  • Check your idlerc folder. Did you make lots of customization like fonts etc. ?Idlerc folder will be located in one of the below locations -

    %userprofile%\\.idlerc\\
    
    C:\\Users\\%userprofile%\\.idlerc
    
    C:\\Users\\{your-username}\\.idlerc
    
  • Idlerc folder contains following 3 files -
    • config-main.cfg
    • breakpoints.lst
    • recent-files.lst
  • Keep a backup of the above idlerc folder and all it's contents.
  • And then delete the .idlerc directory.
  • See if this helps to fix the issue.
   

Check :

  • Idle uses socket to communicate between the Gui process and your code execution by building a connection as shell window is started.
  • Sometimes a very rigid and stringent anti-virus or firewall settings can prohibit your code process from connecting to the Gui process. This can lead to the above issue.
  • One way would be to allow a exemption for this connection in the antivirus or firewall program. Or if that doesn't work, you might resort to keeping the antivirus\firewall in a less rigid\stringent setting (or may be turn it off temporarily). Or may be run Idle with admin privileges.
 

Check :

  • Is there any orphan or zombie pythonw.exe process running under the hood ?
  • Note that - pythonw.exe suppresses the terminal window on startup. And it has an asynchronous execution.
  • Hence kill any running version of pythonw.exe. Open your Task Manager and kill any or all pythonw.exe processes.
  Quick tip -

  • If you like a terminal window to pop up whenever you run your program, use python.exe
  • If you do not like a terminal window to pop up whenever you run your program, use pythonw.exe.
 

Check:

  • Are you working with a proxy or vpn ? Try working without it and see how it goes.
  Hopefully the above will help to fix the error.  

Other Interesting Reads -

     


 , ,python idle subprocess connection error in windows 10 ,how to fix python idle subprocess startup error ,python idle subprocess didn't make connection mac ,python idle startup failure windows 10 ,idle's subprocess didn't make connection raspberry pi ,idle startup failure mac ,warning running idle without a subprocess is deprecated ,python startup failure ,Idle Subprocess Didn't Make Connection ,idle's subprocess didn't make connection python 3.6 ,idle's subprocess didn't make connection raspberry pi ,idle subprocess didn't make connection ubuntu ,idle's subprocess didn't make connection linux ,python idle subprocess didn't make connection mac ,idle subprocess didn't make connection ,idle's subprocess didn't make connection python 3.6 ,idle's subprocess didn't make connection raspberry pi ,idle subprocess didn't make connection ubuntu ,idle's subprocess didn't make connection linux ,python idle subprocess didn't make connection mac , ,idle subprocess didn't make connection windows 10 ,idle subprocess didn't make connection mac ,idle's subprocess didn't make connection. see the 'startup failure' section of the idle doc ,idle's subprocess didn't make connection raspberry pi ,python subprocess error ,idle startup failure mac ,idle internal error in runcode() , ,python idle subprocess didn't make connection ,python idle subprocess startup error ,how to fix python idle subprocess startup error ,python idle subprocess didn't make connection mac ,idle subprocess didn't make a connection ,idle subprocess didn't make connection ,idle subprocess didn't make connection windows 10 ,idle subprocess didn't make connection windows 7 ,idle subprocess didn't make connection python ,idle's subprocess didn't make connection. either idle can't start ,idle's subprocess didn't make connection. see the 'startup failure' section of the idle doc ,idle's subprocess didn't make connection error ,idle subprocess didn't make connection firewall ,idle subprocess didn't make connection mac ,idle subprocess didn't make connection on mac ,idle's subprocess didn't make connection. 해결 ,idle's subprocess didn't make connection. see the startup failure ,idle subprocess connection error ,idle's subprocess didn't make connection python 3.8 ,idle's subprocess didn't make connection python , , ,write the name of any two python idle platform ,what is python shell and idle ,how to open python idle ,python idle for linux ,how to open python idle in windows 10 ,startup failure in python idle ,introduction to the idle interpreter shell and its documentation ,dedent region and untabify region in idle , ,idle subprocess connection error ,idle subprocess didn't make a connection ,idle subprocess didn't make connection ,idle subprocess didn't make connection because ,idle subprocess didn't make connection better ,idle subprocess didn't make connection box ,idle subprocess didn't make connection firewall ,idle subprocess didn't make connection git ,idle subprocess didn't make connection global ,idle subprocess didn't make connection go ,idle subprocess didn't make connection has failed ,idle subprocess didn't make connection header ,idle subprocess didn't make connection https ,idle subprocess didn't make connection java ,idle subprocess didn't make connection javascript ,idle subprocess didn't make connection json ,idle subprocess didn't make connection key ,idle subprocess didn't make connection kotlin ,idle subprocess didn't make connection kubernetes ,idle subprocess didn't make connection mac ,idle subprocess didn't make connection on mac ,idle subprocess didn't make connection python ,idle subprocess didn't make connection query ,idle subprocess didn't make connection question ,idle subprocess didn't make connection queue ,idle subprocess didn't make connection quotes ,idle subprocess didn't make connection ubuntu ,idle subprocess didn't make connection video ,idle subprocess didn't make connection windows 10 ,idle subprocess didn't make connection windows 7 ,idle subprocess didn't make connection xml ,idle subprocess didn't make connection xml file ,idle subprocess didn't make connection xp ,idle subprocess didn't make connection xpath ,idle subprocess didn't make connection year ,idle subprocess didn't make connection you ,idle subprocess didn't make connection youtube ,idle subprocess didn't make connection zip ,idle subprocess didn't make connection zip file ,idle subprocess didn't make connection zone ,idle subprocess didn't make connection zoom ,idle's subprocess didn't make connection error ,idle's subprocess didn't make connection linux ,idle's subprocess didn't make connection python 3.6 ,idle's subprocess didn't make connection raspberry pi ,idle's subprocess didn't make connection see the startup failure ,idle's subprocess didn't make connection startup failure ,idle's subprocess didn't make connection. either idle can't start ,idle's subprocess didn't make connection. see the 'startup failure' section of the idle doc ,idle's subprocess didn't make connection. see the startup failure ,idle's subprocess didn't make connection. 해결 ,python idle subprocess didn't make connection ,python idle subprocess didn't make connection mac ,how to fix python idle subprocess startup error ,how to fix python idle subprocess startup error mac ,how to fix python idle subprocess startup error windows 10 ,how to fix startup failure in python idle subprocess ,idle python subprocess connection error ,idle subprocess error python ,idle subprocess python android ,idle subprocess python api ,idle subprocess python apk ,idle subprocess python app ,idle subprocess python background ,idle subprocess python bash ,idle subprocess python build ,idle subprocess python for windows ,idle subprocess python free download ,idle subprocess python git ,idle subprocess python github ,idle subprocess python grep ,idle subprocess python help ,idle subprocess python java ,idle subprocess python javatpoint ,idle subprocess python jobs ,idle subprocess python json ,idle subprocess python jupyter ,idle subprocess python key ,idle subprocess python kubernetes ,idle subprocess python latest version ,idle subprocess python library ,idle subprocess python list ,idle subprocess python login ,idle subprocess python not found ,idle subprocess python not working ,idle subprocess python offline ,idle subprocess python on windows ,idle subprocess python online ,idle subprocess python output ,idle subprocess python package ,idle subprocess python plugin ,idle subprocess python program ,idle subprocess python project ,idle subprocess python query ,idle subprocess python questions ,idle subprocess python questions and answers ,idle subprocess python queue ,idle subprocess python requirements ,idle subprocess python review ,idle subprocess python run ,idle subprocess python tutorial ,idle subprocess python ubuntu ,idle subprocess python unity ,idle subprocess python update ,idle subprocess python user guide ,idle subprocess python version ,idle subprocess python version download ,idle subprocess python wiki ,idle subprocess python windows ,idle subprocess python windows 10 ,idle subprocess python xcode ,idle subprocess python xml ,idle subprocess python xpath ,idle subprocess python yaml ,idle subprocess python yield ,idle subprocess python youtube ,idle subprocess python zip ,idle subprocess python zip download ,idle subprocess python zip file ,idle subprocess python zoom ,idle's subprocess didn't make connection python 3.6 ,python idle can't start a subprocess ,python idle subprocess connection error ,python idle subprocess connection error in windows 10 ,python idle subprocess didn't make connection ,python idle subprocess didn't make connection mac ,python idle subprocess didn't make connection windows 10 ,python idle subprocess startup error ,subprocess connection error idle ,subprocess startup error in python idle ,what is subprocess connection error in python ,Idle Subprocess python ,idle python subprocess connection error ,idle subprocess error python ,python idle subprocess didn't make connection mac ,idle subprocess connection error ,idle subprocess error ,idle subprocess didn't make connection python ,subprocess connection error idle ,python idle subprocess connection error in windows 10 ,idle's subprocess didn't make connection python 3.6 ,python idle subprocess didn't make connection ,python idle subprocess connection error ,python idle subprocess startup error ,python idle's subprocess didn't make connection error ,how to fix python idle subprocess startup error ,idle can't start a subprocess ,idle python subprocess connection error ,idle subprocess bot ,idle subprocess browser ,idle subprocess connection error ,idle subprocess didn't make a connection ,idle subprocess didn't make connection ,idle subprocess didn't make connection firewall ,idle subprocess didn't make connection on mac ,idle subprocess didn't make connection ubuntu ,idle subprocess didn't make connection windows 7 ,idle subprocess error ,idle subprocess error python ,idle subprocess get ,idle subprocess hack ,idle subprocess help ,idle subprocess hub ,idle subprocess id ,idle subprocess install ,idle subprocess ios ,idle subprocess java ,idle subprocess jwt ,idle subprocess keeps crashing ,idle subprocess key ,idle subprocess kill ,idle subprocess nginx ,idle subprocess ngl ,idle subprocess quest ,idle subprocess queue ,idle subprocess startup error ,idle subprocess startup error mac ,idle subprocess startup error windows 10 ,idle subprocess startup error windows 7 ,idle subprocess version ,idle subprocess xcode ,idle subprocess xp ,idle subprocess xpath ,idle subprocess yourself ,idle subprocess youtube ,idle subprocess zip ,idle subprocess zombie ,idle subprocess zoom ,idle's subprocess didn't make connection ,idle's subprocess didn't make connection linux ,idle's subprocess didn't make connection python 3.6 ,idle's subprocess didn't make connection raspberry pi ,idle's subprocess didn't make connection windows ,idle's subprocess didn't make connection. 해결 ,python idle subprocess didn't make connection ,python idle subprocess didn't make connection mac ,python idle subprocess startup error ,subprocess startup error in python idle ,warning running idle without a subprocess is deprecated ,