This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Windows 10: _tkinter import fails
Type: behavior Stage: resolved
Components: Tkinter, Windows Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, veensl, zach.ware
Priority: normal Keywords:

Created on 2015-11-05 22:28 by veensl, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg254144 - (view) Author: Lester Veenstra (veensl) Date: 2015-11-05 22:28
C:\Users\lbv>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "d:\python27\lib\lib-tk\Tkinter.py", line 38, in <module>
    import FixTk
  File "d:\python27\lib\lib-tk\FixTk.py", line 65, in <module>
    import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.
msg254147 - (view) Author: (ppperry) Date: 2015-11-05 23:08
This might be a duplicate of issue8820
msg254160 - (view) Author: Lester Veenstra (veensl) Date: 2015-11-06 01:31
May well be a duplicate of issue 8820 but never the less it is still a real problem
msg367303 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-26 06:27
With no other context, I'm going to assume this was specific to 2.7, which is now out of support.
History
Date User Action Args
2022-04-11 14:58:23adminsetgithub: 69749
2020-04-26 06:27:42zach.waresetstatus: open -> closed
resolution: out of date
messages: + msg367303

stage: resolved
2015-11-06 22:39:58terry.reedysettitle: Windows 10 Tkinter startup problem -> Windows 10: _tkinter import fails
2015-11-06 22:38:30terry.reedysettitle: Windows 10 IDLE / Tkinter startup problem -> Windows 10 Tkinter startup problem
2015-11-06 01:31:40veenslsetmessages: + msg254160
2015-11-05 23:11:58ppperrysetnosy: - ppperry
2015-11-05 23:08:10ppperrysetnosy: + ppperry
messages: + msg254147
2015-11-05 22:56:46martin.pantersetnosy: + paul.moore, tim.golden, zach.ware, steve.dower

components: + Windows
title: Windows 10 IDLE /Tniker startup problem -> Windows 10 IDLE / Tkinter startup problem
2015-11-05 22:28:29veenslcreate