Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'repository': 0.05; 'dependency': 0.07; 'subject:Windows': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; "'cpython'": 0.16; 'failed.': 0.16; 'idle,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'windows': 0.19; 'work,': 0.22; 'work.': 0.23; 'external': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'list:': 0.27; 'header:X-Complaints-To:1': 0.28; 'van': 0.29; 'not.': 0.32; 'to:addr:python-list': 0.33; 'another': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'created': 0.36; 'subject: (': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'share': 0.61; 'containing': 0.61; 'received:fios.verizon.net': 0.84; 'directories,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Building importable _tkinter on Windows (solved) Date: Sun, 10 Mar 2013 19:04:43 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/20130215 Thunderbird/17.0.3 In-Reply-To: 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362956716 news.xs4all.nl 6887 [2001:888:2000:d::a6]:44775 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:41045 On 3/9/2013 7:41 PM, Terry Reedy wrote: > If you have tried to build _tkinter on Windows from the cpython > repository, and have 'import tkinter' work, please share your > experience, successful or not. I and another person have both failed. > [snip] Solution from Merlijn van Deen on core-mentorship list: Let x be the directory containing both the repository directories, such as 'cpython' and the external dependency directories created by external.bat. Copy x/tcl-8.5.11.0/win/Debug_VC10/tcl85g.dll x/tk-8.5.11.0/win/Debug_VC10/tk85g.dll to x/cpython/PCbuild Now, 'import tkinter', and hence idle, seem to work. -- Terry Jan Reedy