New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE Will not load on reinstall #59043
Comments
After reinstalling Python 3.2.2, I have been unable to load IDLE - it simply refuses to respond. I have tried upgrading to 3.3 also, and still have the same problem - following multiple uninstalls, reinstalls and searching, I can't appear to find any solution to this problem which does appear to have occurred to others in the past with no solution that I can find. Any ideas? |
Which os? windows or linux or osx? It actually sounds like a support question. You probably should take the question to the python newsgroup (https://groups.google.com/forum/?fromgroups#!forum/comp.lang.python). |
Please run, from the command line, in the Python installation python.exe Lib\idlelib\idle.py and report any output you get. |
Running Windows 7. I get the following output when running the requested command: File "<stdin>", line 1 SyntaxError: invalid syntax |
Can you please attach your idle.py, and/or figure out why it has a syntax error on line 1? |
Ah, I think I know what happened. When I said "command line", I didn't mean "Python (command line)", but "CMD shell", as found in the start menu (i.e. cmd.exe). The line I gave you is, of course, invalid Python syntax. If you have never used the Windows command line, please read up on it a little bit before trying this out. Read in particular about the "cd" command. |
If python itself runs, you can easily try this from inside the interpreter
This *should* bring up the Idle shell window. It just did for me on 64 bit Win7. If not, there *should* be an error traceback you can cut and paste here. |
Terry - just ran that command as you suggested and it did bring up idle, however also reported errors in the command window: Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - Warning: configHandler.py - IdleConf.GetThemeDict - |
The reason why IDLE failed to launch is due to stderr=None when using pythonw.exe. The first Warning message cause IDLE to abort. See bpo-13582 for more details and a solution to the problem of IDLE not starting. Cain, your home directory should contain a folder named ".idlerc". Within this folder are a few configuration files for IDLE. The warning messages indicate that you are missing "config-highlight.cfg" which contained the definitions for the "desert" theme. Try renaming "config-main.cfg" to something else and relaunch IDLE. This will force IDLE to use its default settings. |
Closing as a duplicate. Roger, thanks for the analysis. |
Awesome, that resolved it. Simply started idle through the command window, then changed the theme back to the default. Thanks Roger. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: