Unable to load IDLE (Python GUI)

Kisun picture Kisun · Dec 21, 2011 · Viewed 35.1k times · Source

I have installed Python 2.7 (Windwos 7). However, I am unable to load the GUI. I get no response when I try to open. I re-installed it but again the same problem. What might be the solution?

Answer

joaquin picture joaquin · Dec 21, 2011

If you have python in the default installation path, try in the windows shell:

C:\Python27\pythonw C:\Python27\Lib\idlelib\idle.pyw

or change the path accordingly. This should work even if you have other conflicting pythons in your installation or paths are not set.

  1. If idle comes, best solution is to modify idle.bat (in idlelib folder) with the above explicit paths and create a desktop direct access to that new .bat.
  2. If idle doesn't come, try
    • starting idle as administrator
    • starting idle after shutting down windows firewall