Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41045

Re: Building importable _tkinter on Windows (solved)

Return-Path <python-python-list@m.gmane.org>
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 <tjreedy@udel.edu>
Subject Re: Building importable _tkinter on Windows (solved)
Date Sun, 10 Mar 2013 19:04:43 -0400
References <khgkrd$tnu$1@ger.gmane.org>
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 <khgkrd$tnu$1@ger.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3172.1362956716.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Building importable _tkinter on Windows (solved) Terry Reedy <tjreedy@udel.edu> - 2013-03-10 19:04 -0400

csiph-web