Skip to content
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

Closed
Estroms mannequin opened this issue Mar 9, 2010 · 9 comments
Closed

IDLE(Python GUI) Doesn't open #52346

Estroms mannequin opened this issue Mar 9, 2010 · 9 comments
Labels
topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@Estroms
Copy link
Mannequin

Estroms mannequin commented Mar 9, 2010

BPO 8099
Nosy @loewis, @briancurtin

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:

assignee = None
closed_at = <Date 2010-03-11.15:54:50.881>
created_at = <Date 2010-03-09.16:10:35.658>
labels = ['expert-IDLE', 'invalid', 'type-crash']
title = "IDLE(Python GUI) Doesn't open"
updated_at = <Date 2010-03-11.15:54:50.880>
user = 'https://bugs.python.org/Estroms'

bugs.python.org fields:

activity = <Date 2010-03-11.15:54:50.880>
actor = 'loewis'
assignee = 'none'
closed = True
closed_date = <Date 2010-03-11.15:54:50.881>
closer = 'loewis'
components = ['IDLE']
creation = <Date 2010-03-09.16:10:35.658>
creator = 'Estroms'
dependencies = []
files = []
hgrepos = []
issue_num = 8099
keywords = []
message_count = 9.0
messages = ['100734', '100741', '100780', '100786', '100853', '100855', '100865', '100866', '100870']
nosy_count = 3.0
nosy_names = ['loewis', 'brian.curtin', 'Estroms']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue8099'
versions = ['Python 3.1']

@Estroms
Copy link
Mannequin Author

Estroms mannequin commented Mar 9, 2010

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?

@Estroms Estroms mannequin added topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump labels Mar 9, 2010
@loewis
Copy link
Mannequin

loewis mannequin commented Mar 9, 2010

What should I do?

Unset the the TCL_LIBRARY and TK_LIBRARY environment variables, and
report whether it helped.

@Estroms
Copy link
Mannequin Author

Estroms mannequin commented Mar 10, 2010

I'm beginner, so where can I find those things?

@briancurtin
Copy link
Member

In a command prompt window, type the following:

C:\>set TCL_LIBRARY=
C:\>set TK_LIBRARY=
C:\>C:\Python31\python.exe C:\Python31\Lib\idlelib\idle.py

@Estroms
Copy link
Mannequin Author

Estroms mannequin commented Mar 11, 2010

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."

@briancurtin
Copy link
Member

That was an example of the cmd prompt.
Just type "set TCL_LIBRARY=" without the quotes, along with the contents of the other three lines except for the "C:\>".

@Estroms
Copy link
Mannequin Author

Estroms mannequin commented Mar 11, 2010

When I type "set TCL_LIBRARY" it says "TCL_LIBRARY=C:IBMTOOLS\Python22\tcl\tcl18.4".
So I have older version of python on my computer in IBMtools, but I want to use the new Python. How can I uninstall older python, because it can't be found in Start menu and there is no uninstall program in python folder. So how can I uninstall it using command prompt?

@briancurtin
Copy link
Member

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?

@loewis
Copy link
Mannequin

loewis mannequin commented Mar 11, 2010

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.

@loewis loewis mannequin closed this as completed Mar 11, 2010
@loewis loewis mannequin added the invalid label Mar 11, 2010
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

1 participant