Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 get message "IDLE's subprocess didn't make connection. Either IDLE can't start or personal firewall software is blocking connection.".

My firewall is not problem beacuse I put Python throught it. I also tried to reinstall it and it didnt made diffirence. So please if somenone can help!

Thank you on your time :D

like image 530
Usce Avatar asked Apr 10 '15 17:04

Usce


People also ask

How do I fix idle subprocess didn't make connection?

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.

How do I fix subprocess error in Python?

Deleting the erroneously named python file solved the problem. So - look for ANY files (in the folder you are working with or indeed the root folder) that are named after any reserved words. Delete them. Hopefully it'll work!


2 Answers

Delete all newely created .py files in the directory with Python. for example random.py, end.py - that was my problem that caused the same notification window. Reason in filename conflicts.

like image 79
Igor Tischenko Avatar answered Sep 20 '22 11:09

Igor Tischenko


It may be a common problem that happens when you have in you current directory a file with same name on one from Python (references : Can't run Python via IDLE from Explorer [2013] - IDLE's subprocess didn't make connection)

It seems it can also happen if you have incorrect environment variables such as HOMEPATH USERPROFILE (references : Issue 14576: IDLE: inconsistent use of HOMEDRIVE, HOMEPATH, and USERPROFILE on Windows)

I've found another related question : Python IDLE subprocess error?

My advice if the answer is not there : google may be your friend ! The 3 clues above come from there :-)

like image 33
Serge Ballesta Avatar answered Sep 19 '22 11:09

Serge Ballesta