PyGTK - 1.5.2 not 2.1x
Adam 'Vonlia' Seyfarth
adam.seyfarth at home.com
Sun Aug 26 21:44:15 EDT 2001
On Sun, 26 Aug 2001, Ignacio Vazquez-Abrams wrote:
> I've been crunching the aclocal.m4 script (boy are those things ugly...) and
> here's what I've found:
>
> It searches for the python interpreter in the following order:
> python, python2.1, python2.0, python1.6, python1.5
> then it runs it and pulls out its version. So you have to link python to the
> correct one, and then run configure.
>
> I just tested that on my system and it seems to work.
OK, it works now (I know I did it before, but I'll try to forget that
:)...almost. I can do "from gtk import *", but here is a Python session
that is strange:
Python 2.1.1 (#1, Jul 22 2001, 14:53:37)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-81)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "gtk.py", line 21, in ?
import _gtk
ImportError: No module named _gtk
>>> from gtk import *
>>>
has this happened to anyone else?
--
Q: ``What do you get when you cross an insomniac, an agnostic, and
a dyslexic?''
A: ``Someone who lies awake at night wondering if there is a dog''
-- Linux Fortune
/|| Adam Seyfarth <http://members.home.net/adam.seyfarth/> ||\
/«|| <mailto:cloud at users.sf.net> Geekcode, version 3.12 ||»\
\«|| GU d-- s+: a---- C++ UL+>++ P-- L++ E-- W++ N++ o K- w-- ||»/
\|| O M- V- PE- Y PGP- t 5 X R tv+ b+ DI+ D+ G e-- h! !r !y+ ||/
More information about the Python-list
mailing list