472,347 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,347 software developers and data experts.

ActiveState Python v2.5 doesn't come with Tkinter or Tk installed.

Hi,

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?

Also, please direct me to a good and short document on using Tkinter or
Tk in Python.

Cheers,
Rajat

Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged, company confidential and/or exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If this communication has been transmitted from a U.S.. location it may also contain data subject to the International Traffic inArms Regulations or U.S. Export Administration Regulations and cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, without the prior approval of the U.S. Department of State orappropriate export licensing authority. If you have received this communication in error, please notify the sender by reply e-mail or collect telephone call and delete or destroy all copies of this e-mail message, any physical copies made of this e-mail message and/or any file attachment(s).
Aug 14 '08 #1
2 2064
In article <ma*************************************@python.or g>,
"Dudeja, Rajat" <ra**********@aeroflex.comwrote:
Hi,

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?

Also, please direct me to a good and short document on using Tkinter or
Tk in Python.
What operating system?

For MacOS X this should not happen because Tcl/Tk is already available.
But the best Python for MacOS X is the binary installer from python.org
and the best Tcl/Tk is ActiveState version 8.4.19 (the Tcl/Tk that comes
with MacOS X 10.4 and 10.5 is rather old and buggy).

For Windows: the standard python.org binary Python includes its own
Tcl/Tk. So the simplest solution is to use that. I know nothing about
ActiveState's Python for Windows but it is possible that it requires
ActiveState Tcl/Tk to use Tkinter.

For unix: I'm not sure about ActiveState and unix. But the standard
package installer that comes with your unix should offer tcl/tk, python
and _tkinter (possibly as 3 separate packages, possibly not) and at
least tcl/tk and python should be installed by default.

In general ActiveState puts out a very nice Tcl/Tk installer that
includes many useful extra packages. But I've never seen the point to
ActiveState's Python installer. When I last tried it, their Python was
missing readline and did not add any useful packages to the standard
python.org version.

For info on Tkinter: <http://wiki.python.org/moin/TkInter>

-- Russell

P.S. if you do install Tcl/Tk to use with Tkinter, please use 8.4.x, NOT
8.5. Python 2.5.x is not fully compatible with Tcl/Tk 8.5.
Aug 14 '08 #2
On Thu, Aug 14, 2008 at 1:20 PM, Russell E. Owen <ro***@u.washington.eduwrote:
In article <ma*************************************@python.or g>,
"Dudeja, Rajat" <ra**********@aeroflex.comwrote:
>Hi,

So, now I've finally started using Eclipse and PyDev as an IDE for my
GUI Application. I just wrote some sample programs as an hands on.

Now I would like to take up Tkinter. I'm using Active State Python
version 2.5 and found that there is not Tkinter and Tk module in it.

To use Tkinter do I actually require Tk installed on my machine? Please
suggest and where can I find both these modules?

Also, please direct me to a good and short document on using Tkinter or
Tk in Python.

What operating system?

For MacOS X this should not happen because Tcl/Tk is already available.
But the best Python for MacOS X is the binary installer from python.org
and the best Tcl/Tk is ActiveState version 8.4.19 (the Tcl/Tk that comes
with MacOS X 10.4 and 10.5 is rather old and buggy).

For Windows: the standard python.org binary Python includes its own
Tcl/Tk. So the simplest solution is to use that. I know nothing about
ActiveState's Python for Windows but it is possible that it requires
ActiveState Tcl/Tk to use Tkinter.

For unix: I'm not sure about ActiveState and unix. But the standard
package installer that comes with your unix should offer tcl/tk, python
and _tkinter (possibly as 3 separate packages, possibly not) and at
least tcl/tk and python should be installed by default.

In general ActiveState puts out a very nice Tcl/Tk installer that
includes many useful extra packages. But I've never seen the point to
ActiveState's Python installer. When I last tried it, their Python was
missing readline and did not add any useful packages to the standard
python.org version.

For info on Tkinter: <http://wiki.python.org/moin/TkInter>

-- Russell

P.S. if you do install Tcl/Tk to use with Tkinter, please use 8.4.x, NOT
8.5. Python 2.5.x is not fully compatible with Tcl/Tk 8.5.
Could you clarify what you mean when you say "not fully compatible
with Tcl/Tk 8.5" ?
--
http://mail.python.org/mailman/listinfo/python-list


--
-- Guilherme H. Polo Goncalves
Aug 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Adam | last post by:
Hi I had Ruby 1.6.8-8 for Windows installed on my WinXP Pro machine prior to installing Python 2.3. After installing Python 2.3, I tried to ...
4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes;...
1
by: Baggs | last post by:
Guys/Gals I've messed up my Python 2.4 install. I'm really new to Python (and Linux for that matter) and really wanted to try Python out. I...
1
by: Steve | last post by:
I've installed the ActiveState binary distribution for Solaris in my home directory, but I'm having problems with Tk. I think I did everything...
1
by: John Chambers | last post by:
Sp my latest adventure is attempting to use python's Tkinter module on a few machines. On my PB (OSX 10.3.9), I got the following confusing results:...
13
by: Daniel Fetchinson | last post by:
Was looking at PEP 3108, http://www.python.org/dev/peps/pep-3108/ , Is it just me or others also think that it would be a major loss to remove...
8
by: karthikbalaguru | last post by:
Hi, One of my python program needs tkinter to be installed to run successfully. I am using Redhat 9.0 and hence tried installing by copying the...
0
by: Trent Mick | last post by:
Dudeja, Rajat wrote: As was mentioned by others, ActivePython *does* include Tkinter/Tk/Tix support in all builds. One exception is that the...
4
by: njwilson23 | last post by:
I'm having trouble with tkinter on a new installation of Python (2.6), built with the framework option from source that was downloaded from...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.