Bittorrent & Python Help Pleeze


Forum: Apps
Topic: Bittorrent & Python Help Pleeze
started by: dallas7

Posted by dallas7 on June 29 2004,02:11
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!

Posted by Grim on June 29 2004,02:23
Have you tried symlinking /opt/python to /usr/bin/python ?
Posted by roberts on June 29 2004,02:42
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

Posted by roberts on June 29 2004,19:02
Oops. Left off the last part. S/B

export PYTHONPATH=/opt/python/bin

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.