LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2005, 07:32 PM   #1
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
importerror - pygtk


I have gnome-python and pygtk all installed and working, gDesklets works which uses it I'm pretty sure and if I run python from the CLI and type this code in it doesn't error -
Code:
>>> import pygtk
>>> pygtk.require("2.0")
>>> import gtk
But when I try to start gnome-bluetooth-manager that I just compiled I get this
Code:
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/gnomebt/manager.py", line 28, in ?
    import gtk
ImportError: No module named gtk
I've checked the .py file and it all seems to be right and I'm lost Any tips would be great!

Thanks
 
Old 01-27-2005, 10:24 PM   #2
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Hmm...have more than one version of Python installed?
 
Old 01-29-2005, 06:01 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Original Poster
Rep: Reputation: 57
Not that I'm aware of
 
Old 01-30-2005, 10:07 PM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Better use "which python" and check then.
 
Old 01-30-2005, 11:05 PM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Original Poster
Rep: Reputation: 57
Nope, only one version installed.
 
Old 01-31-2005, 07:56 AM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Ah, OK...don't know then, sorry.
 
  


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
iPodder: ImportError: No module named wx dr_zayus69 Linux - Software 6 07-06-2005 01:55 AM
ImportError: cannot import name ext rose_bud4201 Linux - Software 5 02-24-2005 02:05 PM
python ImportError diabolo Programming 3 10-23-2004 10:04 AM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 04:37 PM
RedHat Installation Error! (ImportError?) mitu Linux - Newbie 1 09-02-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 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