[Python-bugs-list] [ python-Bugs-814654 ] 'import Tkinter' causes windows missing-DLL popup

SourceForge.net noreply at sourceforge.net
Mon Sep 29 15:01:26 EDT 2003


Bugs item #814654, was opened at 2003-09-29 12:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814654&group_id=5470

Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Cory Dodt (xant)
Assigned to: Martin v. Löwis (loewis)
Summary: 'import Tkinter' causes windows missing-DLL popup

Initial Comment:
Python.org's official windows installer makes

installing Tkinter optional; there is a component you

can uncheck during installation.  If this box is

unchecked, tk84.dll and friends are not installed but

Tkinter.py, _tkinter.pyd and a few others are installed.



This makes it difficult to write code that does:



.try:

.    import Tkinter

.except ImportError:

.    # fallback to textmode operation





When 'import Tkinter' executes on Windows, Windows

attempts to load tk84.dll, and the result is a popup

error saying

.    "The dynamic link library tk84.dll could not be

found in the specified path (...my system path...)"



I recommend that Tkinter.py and friends not be

installed when that box is unchecked, since they can't

do anything useful anyway.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814654&group_id=5470



More information about the Python-bugs-list mailing list