homepage

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: Can't Import Tkinter
Type: Stage:
Components: Tkinter Versions: Python 2.6
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: SevenThunders, loewis
Priority: normal Keywords:

Created on 2010年03月28日 01:59 by SevenThunders, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (3)
msg101852 - (view) Author: Matt B (SevenThunders) Date: 2010年03月28日 01:59
>>> import _tkinter
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.
I 'upgraded' to python 2.6.5 by downloading the windows 64 bit installer. I'm running windows 7 64 bit. Everything worked great in 2.6.4 by the way. I had a similar problem with numpy, but reinstalling it from this site seemed to fix it:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
I can only speculate what happened. If I knew what DLL failed to load I could easily check to see if there were dependency issues or 64/32 bit issues. Perhaps the old dll is still around? If so then there is an issue with the installer I think.
No doubt the issues extends beyond just Tkinter.
msg101855 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010年03月28日 05:56
Can you please check the event log?
msg155672 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012年03月13日 21:35
Closing because of lack of feedback.
History
Date User Action Args
2022年04月11日 14:56:59adminsetgithub: 52494
2012年03月13日 21:35:02loewissetstatus: open -> closed
resolution: works for me
messages: + msg155672
2010年03月28日 05:56:32loewissetnosy: + loewis
messages: + msg101855
2010年03月28日 01:59:27SevenThunderscreate

AltStyle によって変換されたページ (->オリジナル) /