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 Ignacio Vazquez-Abrams other posts by this author
Aug 27 2001 2:09AM messages near this date
Re: PyGTK - 1.5.2 not 2.1x | Re: Python Packages for Complex Numbers and Matrix Math
On Mon, 27 Aug 2001, Adam 'Vonlia' Seyfarth wrote:

>  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?

Huh. Cute.

It looks like it can't find _gtkmodule.so. If you copied it over, try copying
that file too. If you recompiled, try to import it directly.

Also, I've helped you as much as I can. For further help, it might be better
if you look at the PyGTK mailing list/archives at
http://www.daa.com.au/mailman/listinfo/pygtk. They'll probably be able to help
you where I can't.

-- 
Ignacio Vazquez-Abrams  <ignacio@[...].net> 


-- 
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