Re: Rawhide: No module named gtk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-04-21 at 10:37 -0600, Jerry James wrote:
> On Tue, Apr 21, 2009 at 10:27 AM, Gerry Reno <greno@xxxxxxxxxxx> wrote:
> > # python
> > Python 2.6 (r26:66714, Mar 17 2009, 11:44:14)
> > [GCC 4.4.0 20090313 (Red Hat 4.4.0-0.26)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> import sys
> >>>> print sys.path
> > ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6',
> > '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk',
> > '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload',
> > '/usr/lib64/python2.6/site-packages',
> > '/usr/lib64/python2.6/site-packages/Numeric',
> > '/usr/lib64/python2.6/site-packages/PIL',
> > '/usr/lib64/python2.6/site-packages/gst-0.10',
> > '/usr/lib64/python2.6/site-packages/scim-0.1',
> > '/usr/lib/python2.6/site-packages',
> > '/usr/lib/python2.6/site-packages/gtk-2.0']
> >>>>
> >
> >
> > Regards,
> > Gerry
> 
> I get this on my Rawhide machine:
> 
> ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6',
> '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python-2.6/lib-tk',
> '/usr/lib64/python-2.6/lib-old', '/usr/lib64/python2.6/lib-dynload',
> '/usr/lib64/python2.6/site-packages',
> '/usr/lib64/python2.6/site-packages/Numeric',
> '/usr/lib64/python2.6/site-packages/PIL',
> '/usr/lib64/python2.6/gst-0.10',
> '/usr/lib64/python2.6/site-packages/gtk-2.0',
> '/usr/lib/python-2.6/site-packages']
> 
> Notice that yours has /usr/lib/python2.6/site-packages/gtk-2.0, while
> mine has /usr/lib64/python2.6/site-packages/gtk-2.0.  That's why I
> asked about the arches, just in case you had an i586 pygtk2 on an
> x86_64 platform.  So what does "rpm -qf
> /usr/lib/python2.6/site-packages/gtk-2.0" tell you?  Do you have a
> /usr/lib64/python2.6/site-packages/gtk-2.0 directory?
> -- 
> Jerry James
> http://loganjerry.googlepages.com/


Um. Why don't we just go the easy way, and ask him to do:

* run python at a command line
* run 'import gtk'

and see what happens? That usually gives you an error message that tells
you pretty much what's going on.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux