ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: PyGTK - 1.5.2 not 2.1x
by Adam 'Vonlia' Seyfarth other posts by this author
Aug 27 2001 1:44AM messages near this date
Re: A survey of Python IDEs - Summary (Long) | Re: PyGTK - 1.5.2 not 2.1x
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@[.
..].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+  ||/

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Adam 'Vonlia' Seyfarth
Ignacio Vazquez-Abrams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved