Apps :: Bittorrent & Python Help Pleeze



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!

Have you tried symlinking /opt/python to /usr/bin/python ?
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

Oops. Left off the last part. S/B

export PYTHONPATH=/opt/python/bin


original here.