LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2010, 08:07 AM   #1
tmkd
Member
 
Registered: Mar 2010
Posts: 31

Rep: Reputation: 0
WICD error, no module named gtk


I have installed WICD from SlackBuild, now when i am trying to run it, i see this error.
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 40, in <module>
import gtk
ImportError: No module named gtk

What should i install, i have gtk in my system.
 
Old 05-23-2010, 08:28 AM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Do you have pygtk installed?
Code:
# ls -l /var/log/packages/pygtk*
 
Old 05-23-2010, 08:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
No module named gtk >>> module name = gtk.py

Install 'pygtk'.

Both 'pygtk' and 'pygobject' are on the install DVD.
Or cd disk 1 : slackware/l/<package>.txz

..
 
Old 05-23-2010, 11:14 AM   #4
tmkd
Member
 
Registered: Mar 2010
Posts: 31

Original Poster
Rep: Reputation: 0
I have pygtk.
Code:
-rw-r--r-- 1 root root 33787 2009-10-21 02:21 /var/log/packages/pygtk-2.14.1-i486-2
 
Old 05-23-2010, 11:53 AM   #5
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Lightbulb

upgrade to the following packages:

1. pygtk-2.16.0
2. pygobject-2.20.0
3. python-2.6.4
4. dbus-python-0.83.1
5. wicd-1.7.0

Does not matter if you have the packages already installed, use this command:

Code:
upgradepkg --reinstall --install-new *.t?z
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Error: No module named Config yuri16 Linux - Software 1 05-22-2009 05:17 AM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
ImportError: No module named gtk... (Slackware trying to install 0launch) think_like_a_geek Linux - Software 7 09-05-2007 08:06 AM
ImportError: No module named gtk peterkarlos Mandriva 3 02-14-2007 08:27 AM
gnochm error - No module named gconf raghav Fedora 1 12-14-2005 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration