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(Python GUI) Doesn't open #52346
Comments
I downloaded Python 3.1 yesterday. I can open the Python command line, but when i press IDLE(Python GUI)shortcut no window or program opens. i typed to command promt C:\Python31\lib\idlelib\idle.py and got an error message. It's too long to write to here, but in the end of it, it said that "This probably means that Tcl wasn't installed properly". What should I do? |
Unset the the TCL_LIBRARY and TK_LIBRARY environment variables, and |
I'm beginner, so where can I find those things? |
In a command prompt window, type the following: C:\>set TCL_LIBRARY= |
When I write to Command Promt "C:\>set TCL_LIBRARY=" it says: "'C:\' is not recognized as an internal or external command, operable program or batch file." |
That was an example of the cmd prompt. |
When I type "set TCL_LIBRARY" it says "TCL_LIBRARY=C:IBMTOOLS\Python22\tcl\tcl18.4". |
Just delete the Python22 folder. Typing "set TCL_LIBRARY=" (note the equal sign) will unset the environment variable for that command prompt. Can you try running the steps from msg100786? |
I recommend against deleting that Python installation: it probably came from the PC vendor, and might serve a purpose. Just unset TCL_LIBRARY, through the Windows Environment GUI. Ask on comp.lang.python how to do this, or on some Windows help forum. |
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: