I used to use Python 2.7 and then IDLE was working. I uninstalled it and installed Python 3.1.
Right now Idle cannot launch. What should i do to get it running?
NOTE:
I tried c:\Python31\pythonw.exe c:\Python31\Lib\idlelib\idle.py
i uninstalled 3.1 and installed back 2.7, not working neither...
My system is Win7/64 Enterprise edition and the Python version is 2.7.3 (I need this one...). This is what I got when I ran idle.py from the command window:
Indeed there was no "tcl8.5" folder in any of the listed above place but it was under: "C:\Python27\tcl".
When I copied it under "C:\Python27\lib" then IDLE started (with some other warnings but this seems related to my corp environment...)
In conclusion this looks like either an installer failing to copy the folder where it is supposed to or failing to set up some environment variables correctly or there's an actual bug int the release likely to show up on Win7/64 on certain edition(s). I am not a Python expert enough to debug Python itself, so please somebody take it from here...in the meantime I will see if the "workaround" is good enough :-)
Just try to delete the files which end with
.idlerc
in your profile.Once I copied the
C:\Python27\tcl\tcl8.5
folder toC:\Python27\Lib
as suggested in Bogdan's answer the error message"This probably means that Tcl wasn't installed properly"
went away. Instead I started seeing"This probably means that tk wasn't installed properly"
. I had to copy theC:\Python27\tcl\tk8.5
folder toC:\Python27\Lib
as well. Once I did that runningidle.py
from the command line inC:\Python27\Lib\idlelib
was error-free.I got the same problem on window 10. Steps to solve the problem:
.idlerc
folder in your profile directory (e.g.C:\Users\{your-username}
without the braces)..idlerc
directory.It worked for me...