Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Bittorrent & Python Help Pleeze< Next Oldest | Next Newest >
dallas7 Offline





Group: Members
Posts: 36
Joined: Sep. 2003
Posted: June 29 2004,02:11 QUOTE

Running DSL .7 from a hard drive:

I installed Bittorrent and Python2.3 from the DSLs.

When I run Bittorrent, it stops and I see this in Bash:

Executing command:
btdownloadcurses --max_uploade_rate 12 --responsefile /mypath/thefile.torrent
/usr/bin/bittorrent: /usr/bin/btdownloadcurses: /usr/bin/python: bad interpreter
:no such file or directory

Since there is no /usr/bin/python directory on my system, I believe that's where the problem lies.  I do have /opt/python which is where I believe python2.3 lives.

I did at one time install python2.2 and it's in /usr/bin.

So, I think I just need to point Bittorrent to the correct path, but I'm at a loss to find the file that needs that tweak.

Any tips?

Thanks!


--------------
Your Jedi mind tricks won't work on me, Skywalker.
Back to top
Profile PM 
Grim Offline





Group: Members
Posts: 284
Joined: Mar. 2004
Posted: June 29 2004,02:23 QUOTE

Have you tried symlinking /opt/python to /usr/bin/python ?

--------------
No good deed goes unpunished...
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 29 2004,02:42 QUOTE

You can also trying adding it to the path by:

export PYTHONPATH=/opt/python
export PATH="$PATH:$PYTHONPATH

Add these to your /opt/bootlocal.sh

For liveCD users add /opt/.bootlocal.sh to your filetool.lst
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 29 2004,19:02 QUOTE

Oops. Left off the last part. S/B

export PYTHONPATH=/opt/python/bin
Back to top
Profile PM WEB 
3 replies since June 29 2004,02:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Bittorrent & Python Help Pleeze

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code