Tkinter not installed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • anuradha.k.r@sify.com

    Tkinter not installed

    hi,
    Have a problem in python installation.I have already installed
    python 2.2 in my linux machine,but i guess tkinter packages were not
    selected then.Now i want to use tkinter as an interface for my
    program(actuall y i wanted to check if my python program written in
    windows side works fine on linux side also).
    is there any way i can include the tkinter packages?if so where
    can i find those files?
    pls help.
    thanx,
    AKR.
  • Xavier Martinez

    #2
    Re: Tkinter not installed

    > Have a problem in python installation.I have already installed[color=blue]
    > python 2.2 in my linux machine,but i guess tkinter packages were not
    > selected then.Now i want to use tkinter as an interface for my
    > program(actuall y i wanted to check if my python program written in
    > windows side works fine on linux side also).
    > is there any way i can include the tkinter packages?if so where
    > can i find those files?[/color]

    It depends of what linux distribution are you using (you should
    specify it). If you have a Debian box, simply type (as root):

    $ apt-get install python2.2-tk

    --
    Xavier Martinez


    Comment

    • anuradha.k.r@sify.com

      #3
      Re: Tkinter not installed

      hi,
      i am very sorry.i am using Redhat Linux 8.0.
      I 've downloaded few rpm files "tkinter-2.2.1-17.i386.rpm"
      will this be of any use?if so how do i extract the files from rpm(i
      know that it is used to compress some software files).
      do suggest a solution.
      thanx.
      Akr.

      "Xavier Martinez" <xavim@fqingeni eria.es> wrote in message news:<mailman.1 064930988.24641 .python-list@python.org >...[color=blue][color=green]
      > > Have a problem in python installation.I have already installed
      > > python 2.2 in my linux machine,but i guess tkinter packages were not
      > > selected then.Now i want to use tkinter as an interface for my
      > > program(actuall y i wanted to check if my python program written in
      > > windows side works fine on linux side also).
      > > is there any way i can include the tkinter packages?if so where
      > > can i find those files?[/color]
      >
      > It depends of what linux distribution are you using (you should
      > specify it). If you have a Debian box, simply type (as root):
      >
      > $ apt-get install python2.2-tk[/color]

      Comment

      • Xavier Martinez

        #4
        Re: Tkinter not installed

        > hi,[color=blue]
        > i am very sorry.i am using Redhat Linux 8.0.
        > I 've downloaded few rpm files "tkinter-2.2.1-17.i386.rpm"
        > will this be of any use?if so how do i extract the files from rpm(i
        > know that it is used to compress some software files).[/color]

        I have not used Red Hat for a long time. However, a bit of googling gives:

        Using RPM (from the Red Hat manuals) (command-line tool):


        In short, write (as root):

        $ rpm -Uvh tkinter-2.2.1-17.i386.rpm

        If it complains about 'Failed dependencies', you will need to install some
        other packages first.

        You can also use a graphical tool. See:


        Another alternative is to use 'apt-rpm'. See:



        Comment

        Working...