Search code examples
python-2.7python-idle

Python 2.7.2 IDLE shell not working


For some reason the python 2.7.2 IDLE shell is not opening. I get an error that says:

"IDLE can't bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. Run IDLE with the -n command line switch to start without a subprocess and refer to HELP/IDLE Help 'Running without a subprocess' for further details."

It was working fine the day before and I can't think of any changes I have made to the computer*(windows 7) that could have caused it to stop working. I have tried uninstalling and reinstalling it but it still has the same problem. I have added it to the exceptions on my firewall but nothing helps it.

Any help is appreciated :)


Solution

  • See a similar problem with solution here:-
    http://www.cs.ucsb.edu/~pconrad/cs8/topics/idle/

    If you think port number 8833 might be used by some other process, check that by giving this in command prompt:-

    netstat -aon | find "8833"