Rawhide: No module named gtk

Gerry Reno greno at verizon.net
Tue Apr 21 16:27:42 UTC 2009


Jerry James wrote:
> On Tue, Apr 21, 2009 at 9:53 AM, Gerry Reno <greno at verizon.net> wrote:
>   
>> Yes, I've checked against an F10 machine and they both have:
>> pygtk2
>> pygtk2-libglade
>>
>> Yet, the rawhide machine refuses to launch any of the 'system-config-*'
>> modules.  They all complain about "Import Error: No module named gtk".
>>
>> Regards,
>> Gerry
>>     
>
> What architecture is your machine?  What arch is the pygtk2 package?
>
> If you run "python" at the command line, and then type "import sys"
> followed by "print sys.path" at the prompt, what does it print?
>   

 From the Rawhide machine:

[root at localhost tmp]# uname -a
Linux localhost.localdomain 2.6.29.1-100.fc11.x86_64 #1 SMP Sat Apr 18 
18:16:41 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[root at localhost tmp]# cat /etc/rpm/platform
x86_64-redhat-linux
[root at localhost tmp]# rpm --eval '%{_arch}'
x86_64
[root at localhost tmp]# yum list pygtk2
Loaded plugins: dellsysidplugin2, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * rawhide: mirror.hiwaay.net
Installed Packages
pygtk2.x86_64                     2.14.1-1.fc11                     
installed
[root at localhost tmp]#

# 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




More information about the fedora-devel-list mailing list