Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to load IDLE (Python GUI) [closed]

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?

like image 735
Kisun Avatar asked Dec 21 '11 10:12

Kisun


People also ask

How do I fix IDLE not opening in Python?

Right-click the ". idlerc" folder and select Properties. Uncheck the "Hidden" attribute if it's active and apply the new settings. Test the change by editing a script tool or opening Python IDLE again.

How do I enable IDLE in Python?

You can also open IDLE directly from your Python script file. Right click the file, then choose "Edit with IDLE". Rather than going through the "Run..." menu, learn to use F5 (on some systems, Fn + F5) to run your script.

Is Python IDLE a GUI?

The Python IDLE (Integrated DeveLopment Environment) editor is a graphical user interface for Python development. This GUI is free and installed automatically during the Python installation. It enables you to edit, run, and debug Python programs in a simple GUI environment.


1 Answers

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
like image 120
joaquin Avatar answered Oct 06 '22 19:10

joaquin