Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'source,': 0.04; 'correct.': 0.07; 'importerror:': 0.07; 'tkinter': 0.07; 'failed:': 0.09; 'helping.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; '36,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'tkinter.': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'resolved': 0.19; 'solution.': 0.20; 'seems': 0.21; 'import': 0.22; '(in': 0.22; 'load': 0.23; 'header:User-Agent:1': 0.23; 'copied': 0.24; 'dll': 0.24; 'errors.': 0.24; 'fine': 0.24; "i've": 0.25; 'skip:" 30': 0.26; 'skip:" 40': 0.26; 'downloaded': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'external': 0.29; 'am,': 0.29; 'specified': 0.30; "i'm": 0.30; 'that.': 0.31; '"",': 0.31; 'anyone': 0.31; 'file': 0.32; '(most': 0.33; 'skip:_ 10': 0.34; 'could': 0.34; 'problem': 0.35; 'except': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'combination': 0.36; 'found.': 0.36; "didn't": 0.36; 'project': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'recent': 0.39; 'skip:. 10': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'tell': 0.60; 'received:173': 0.61; 'believe': 0.68; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Building tkinter on Windows Date: Mon, 09 Sep 2013 03:43:16 -0400 References: <6df18f7b-d8d1-4fd3-b9dc-6a06e46fb04b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <6df18f7b-d8d1-4fd3-b9dc-6a06e46fb04b@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378712610 news.xs4all.nl 15991 [2001:888:2000:d::a6]:36763 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53857 On 9/9/2013 1:14 AM, Westley Mart=C3=ADnez wrote: > Hello. Can anyone tell me how to build tkinter on Windows? I've downl= oaded the source, ran Tools/buildbot/external.bat to build the external d= ependencies. I copied tcl85g.dll and tk85g.dll to PCBuild. I built the = Visual Studio solution. Everything built fine without errors. Everythin= g seems to work except tkinter. It says: > > Traceback (most recent call last): > File "", line 1, in > File "...\cpython-idle\lib\tkinter\__init__.py", line 36, in > from tkinter import _fix > File "...\cpython-idle\lib\tkinter\_fix.py", line 65, in > import _tkinter > ImportError: DLL load failed: The specified module could not be found. > > I'm thinking I didn't put the DLLs in the right place, but I don't have= any idea where to put them and Google isn't helping. Some combination of the README instructions, external.bat, and the=20 project files are not correct. There may be an issue on the tracker. I=20 believe I copied tcl85g.dll and tk85g.dll into .../py3x/pcbuild from=20 =2E../tcltk/bin and that resolved the problem for me. But you say you did= =20 that. Did _tkinter_d.pyd get built (in pcbuild)? --=20 Terry Jan Reedy