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


Groups > comp.lang.python > #2187 > unrolled thread

Re: Python3 Tkinter difficulty

Started byharrismh777 <harrismh777@charter.net>
First post2011-03-29 12:52 -0500
Last post2011-03-29 21:46 -0500
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python3 Tkinter difficulty harrismh777 <harrismh777@charter.net> - 2011-03-29 12:52 -0500
    Re: Python3 Tkinter difficulty Terry Reedy <tjreedy@udel.edu> - 2011-03-29 15:42 -0400
      Re: Python3 Tkinter difficulty harrismh777 <harrismh777@charter.net> - 2011-03-29 21:46 -0500

#2187 — Re: Python3 Tkinter difficulty

Fromharrismh777 <harrismh777@charter.net>
Date2011-03-29 12:52 -0500
SubjectRe: Python3 Tkinter difficulty
Message-ID<o%okp.164$tC3.101@newsfe01.iad>
Peter Otten wrote:
> We don't eat children above the age of three;)

    geez... that's good news   :)

>> >  work... but, I'm at a bit of a loss to know exactly what its looking
>> >  for... libs, or libs and devel headers?   or other?

> Most likely the development headers. Try installing tk-dev.
>
    Thanks. You're right... I don't have tk-dev installed. duh.  And I 
have choices to make...  it looks like setup.py is looking for 8.4 
headers; I have TclTk 8.5x installed.  From the standard repository it 
looks like I can download and install tk-dev (dependency package) and|or 
tk-dev 8.3, or 8.4, or 8.5...   and I am not sure which of these is what 
is needed without causing other problems.  Can 8.4 and 8.5 be installed 
together without problem?  Does it really matter which of these I use 
for the purpose of python build?  If I have TclTk 8.5 installed should I 
only download the 8.5 tk-dev package?

    sorry for being so dense... and I'm definitely over three... way too 
tough for eating or anything like that      :}



kind regards,



[toc] | [next] | [standalone]


#2189

FromTerry Reedy <tjreedy@udel.edu>
Date2011-03-29 15:42 -0400
Message-ID<mailman.1379.1301427745.1189.python-list@python.org>
In reply to#2187
On 3/29/2011 1:52 PM, harrismh777 wrote:

> Thanks. You're right... I don't have tk-dev installed. duh. And I have
> choices to make... it looks like setup.py is looking for 8.4 headers; I

3.2 (which you should definitely be starting with) should, I think, be 
looking for 8.5, which I believe is years old now and required, I also 
believe, for the tkinter.ttk module.

> have TclTk 8.5x installed. From the standard repository it looks like I
> can download and install tk-dev (dependency package) and|or tk-dev 8.3,
> or 8.4, or 8.5... and I am not sure which of these is what is needed
> without causing other problems. Can 8.4 and 8.5 be installed together
> without problem? Does it really matter which of these I use for the
> purpose of python build? If I have TclTk 8.5 installed should I only
> download the 8.5 tk-dev package?

I would start with that and then make that work.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#2208

Fromharrismh777 <harrismh777@charter.net>
Date2011-03-29 21:46 -0500
Message-ID<QPwkp.573$0s5.91@newsfe17.iad>
In reply to#2189
Terry Reedy wrote:
> [python] 3.2 (which you should definitely be starting with) should, I think, be
> looking for [dev-tk] 8.5, which I believe is years old now and required, I also
> believe, for the tkinter.ttk module.

Thanks everyone for your patience, and certainly for your help. I pulled 
down tk-dev 8.5 from the repository (I did not modify anything in the 
config setup.py manually), then this:

./configure --prefix=$HOME/local/python3
make
make install

This time the build process picked up the TclTk headers just fine and 
built the _tkinter module. IDLE is back on-line!--- yessssss.

Thanks again folks,
kind regards,

m harris

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web