[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9f91d47c8ab by Steve Dower in branch '3.5': Issue #24771: Adds vcruntime DLL to tcltk package https://hg.python.org/cpython/rev/e9f91d47c8ab New changeset 14dee84ab900 by Steve Dower in branch 'default': Issue #24771: Adds vcruntime DLL to tcltk

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-03 Thread Steve Dower
Steve Dower added the comment: Rather than change the tcl and tk project files (which is not as easy as updating the Python projects - I spent an hour trying), I've added the vcruntime DLL to the MSI with tkinter. Distutils has already been updated to not include it any more, and I really

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +larry priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24771 ___

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread Adam Bartoš
Adam Bartoš added the comment: It seems that both tcl86t.dll and tk86t.dll can be found, but their dependency VCRUNTIME140.dll cannot. For some reason, Dependency Walker cannot locate also python35.dll and ieshims.dll (but it tries to find all three libraries in Python 3.5\DLLs and at least

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread eryksun
eryksun added the comment: 64-bit 3.5.0b4 works for me in Windows 7. Try loading _tkinter.pyd in [Dependency Walker][1]. Or try loading the dependent DLLs directly via ctypes: import os import _ctypes dlls_path = os.path.dirname(_ctypes.__file__) for d in ('tcl86t.dll',

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread Steve Dower
Steve Dower added the comment: Correct. I'll fix this on Monday or Tuesday this week. -- assignee: - steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24771 ___

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread Steve Dower
Steve Dower added the comment: Until then, if you find and install the VC distributable for VS 2015 then you'll have the files you need. On my phone now so I don't have the link handy -- ___ Python tracker rep...@bugs.python.org

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread eryksun
eryksun added the comment: Not finding python35.dll is normal since there's no activation context from python.exe. The vcruntime140 library is statically linked to avoid having to distribute vcruntime140.dll. See issue 24476. This needs to be changed in the TCL/Tk project files as well.

[issue24771] Cannot import _tkinter in Python 3.5 on Windows

2015-08-01 Thread Adam Bartoš
New submission from Adam Bartoš: I found out that I cannot import tkinter in Python 3.5.0b4 on 64-bit Windows Vista. Trying to import _tkinter results in ImportError: DLL load failed. On the other hand I have no problem importing _ctypes whose .pyd file is at the same location as