LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-30-2005, 08:58 PM   #1
Kruncher
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 61

Rep: Reputation: 15
BitTorrent can't find gtk


I have Python, GTK, pygtk, and BitTorrent (4.0.1) installed.
This is the error BitTorrent gives me:

bash-3.00$ python btdownloadgui.py
Traceback (most recent call last):
File "btdownloadgui.py", line 27, in ?
import gtk
ImportError: No module named gtk
 
Old 04-30-2005, 10:06 PM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Same here. Have not tried to resolve it. I use
Code:
btdownloadcurses.py --max_upload_rate NUM --save_in /foo/bar MY.torrent
Low CPU consumption
 
Old 04-30-2005, 11:28 PM   #3
Kruncher
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
Could it be how I installed pygtk?

$ ./configure
$ make
$ su
# checkinstall

I would have done it like it says in the README
$ ./configure --prefix=<prefix where python is installed>
$ make
$ make install

but I don't know where python is installed to.
 
Old 05-01-2005, 02:52 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You could try azureus.
 
Old 05-01-2005, 09:37 AM   #5
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Azureus takes too much processing power.

I couldn't watch VCD and had Azureus running at the same time.

With bittorrent, I could.
 
Old 05-01-2005, 11:41 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Well you can use btdownloadcurses.py as directed above. It runs in the console and doesn't use up a lot of resources.
 
Old 05-01-2005, 05:49 PM   #7
Kruncher
Member
 
Registered: Mar 2005
Distribution: Ubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
I don't want to use Azureus and I don't want to use command line.
What can I do to resolve this problem?
 
Old 05-01-2005, 06:24 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try using the pygtk package from http://linuxpackages.net
 
Old 10-20-2005, 07:35 PM   #9
torzsmokus
LQ Newbie
 
Registered: Oct 2005
Location: Budapest, Hungary
Distribution: UHU Linux (uhulinux.hu)
Posts: 4

Rep: Reputation: 0
Lightbulb a very simple solution

you must use python2.3 for BitTorrent.
instead of
Quote:
$ python btdownloadgui.py
type
Code:
$ python2.3 btdownloadgui.py
it's that simple
 
Old 10-22-2005, 11:17 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by Kruncher
I don't want to use Azureus and I don't want to use command line.
What can I do to resolve this problem?
If you use KDE, you can install ktorrent.
 
Old 10-23-2005, 02:58 AM   #11
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Re: a very simple solution

Quote:
Originally posted by torzsmokus
you must use python2.3 for BitTorrent.
instead of
type
Code:
$ python2.3 btdownloadgui.py
it's that simple
Thanks,

I never bothered to find out how to fix the gtk problem.

I use btdownloadcurses.py as well.

The only complain I have about using official bittorrent from command line is that I can't change the parameter on the fly. Parameters such as --max_upload_rate
 
  


Reply



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
where to find gtk-config? kpachopoulos Linux - General 2 09-28-2005 02:54 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
Bittorrent can't find wxPython akudewan Linux - Newbie 6 11-18-2004 01:36 PM
cant find gtk.h m_m Linux - Software 1 11-04-2004 12:02 AM
Bittorrent Won't Find wxPython AFI_Flame Linux - Software 5 07-09-2004 03:32 PM

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

All times are GMT -5. The time now is 02:16 AM.

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