Re: problem with tkinter in python2.1
> Check for PYTHON* varibales in your shell and dot files in your $HOME.
>
> Oleg
>
>
Almost right, thanks. The problem was actually the PATH variable. There was
an old python binary in the /usr/local/bin directory,
which is searched first for an user, but last for root. Removing the od
binary solved the problem
Mathias
> On Thursday 20 December 2001 12:30, Mathias Palm wrote:
> > I am using the woody release directly from de.debian.org. I have
> installed:
> >
> > *** Opt interpre python-pmw 0.8.5-4
> > *** Opt interpre python2.1 2.1.1-4
> > *** Opt interpre python2.1-do 2.1.1.0-2
> > *** Opt interpre python2.1-el 2.1.1-4
> > *** Opt interpre python2.1-tk 2.1.1-4
> >
> >
> > Typing import Tkinter
> >
> > I get
> >
> > >>> import Tkinter
> >
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 35, in ?
> > import _tkinter # If this fails your Python may not be configured
> for
> > Tk ImportError: /usr/lib/python2.1/lib-dynload/_tkinter.so: undefined
> > symbol: PyFPE_jbuf
> >
> >
> >
> > The odd thing: Logging in as root, typing the same and everything works
> > fine.
> >
> > I was looking for different versions of _tkinter.so on my maschine
> already,
> > but there is only one.
> >
> >
> >
> > Mathias
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Reply to: