LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-16-2006, 03:52 PM   #1
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Rep: Reputation: 30
"Help Me!!" bittorrent


I am having a real bad day every thing I install does not come up into the gui menu..

right now I am installing bittorrent

here is what it haves what i just type
~# bittorrent
Traceback (most recent call last):
File "/usr/bin/bittorrent", line 17, in ?
from BitTorrent.platform import install_translation
ImportError: No module named platform

I do not understand what needs to be done

I have debian and went into synoptic and instaled the gui and it but no luck..

what do i need to do?
 
Old 03-17-2006, 10:11 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Upgrade python version 2.4 and it should work fine. Or try solution http://www.cyberciti.biz/nixcraft/vi...33955312697918
 
Old 03-17-2006, 11:05 AM   #3
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
ok I have 2.4 and I read what u sent me to as shown blow there is a way to fix it...

"Hi,
It works, if you have this:
-
File "/usr/bin/bittorrent-curses", line 18, in ?
from BitTorrent.platform import install_translation
ImportError: No module named BitTorrent.platform
-
Just check if your /usr/bin/python is linked with /usr/bin/python2.4
if not do:
1/ rm /usr/bin/python
2/ ln -s /usr/bin/python2.3 /usr/bin/python

3/ Enjoy"

Ok how do i do this? Just check if your /usr/bin/python is linked with /usr/bin/python2.4
 
Old 03-17-2006, 11:15 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by phoenix_wolf
Ok how do i do this? Just check if your /usr/bin/python is linked with /usr/bin/python2.4
Type "ls -l /usr/bin/python". If it's linked, you should see something like "python -> python2.4". Post the output if you're unsure.
 
Old 03-17-2006, 11:18 AM   #5
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
lrwxrwxrwx 1 root root 9 2006-03-15 11:32 /usr/bin/python -> python2.3


ok befor i go making a big mistake doesent rm remove the flie? if not then should i go and do what was stated above?
 
Old 03-17-2006, 11:30 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by phoenix_wolf
lrwxrwxrwx 1 root root 9 2006-03-15 11:32 /usr/bin/python -> python2.3


ok befor i go making a big mistake doesent rm remove the flie? if not then should i go and do what was stated above?
/usr/bin/python isn't the actual executable, it's a link to python2.3 (like a shortcut), so if you remove that link it just means you'd have to run python as python2.3. As for following the instructions, that should be ok, providing that that 3 should be a 4, cos otherwise you'll just be recreating the link you've got now.
 
Old 03-17-2006, 11:42 AM   #7
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
ok got it however this came up next..

Traceback (most recent call last):
File "/usr/bin/bittorrent", line 177, in ?
import gtk
ImportError: No module named gtk
 
Old 03-17-2006, 12:09 PM   #8
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Install PyGTK.
 
Old 03-17-2006, 12:24 PM   #9
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
it could not finde it but i dot that taken care of by doing this found it on another fourm here..

cd /usr/lib/python2.4/site-packages
cp -a /usr/lib/python2.3/site-packages/BitTorrent .
cp -a /usr/lib/python2.3/site-packages/khashmir .

but now I get this message

Traceback (most recent call last):
File "/usr/bin/bittorrent", line 17, in ?
from BitTorrent.platform import install_translation
File "/usr/lib/python2.4/site-packages/BitTorrent/platform.py", line 36, in ?
from BitTorrent import app_name, version
ImportError: cannot import name app_name
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Bittorrent. "ImportError: No module named __future__" BashTin Linux - Software 4 09-12-2005 03:07 AM

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

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