[linux-audio-user] flash 9 beta
pw_lists at slinkp.com
Fri Oct 20 10:03:53 EDT 2006
On Fri, Oct 20, 2006 at 02:41:31PM +0200, Dragan Noveski wrote:
> James McDermott wrote:
> >On 10/19/06, Rob <lau at kudla.org> wrote:
> >>There's a Greasemonkey script for Firefox that converts the
> >>embedded video into a download link, which lets you save
> >>the .flv file to your hard disk for playback or conversion using
> >If you don't have Greasemonkey this might be easier:
> can you please tell what of python stuff you have installed?
> i have 2.4.3 python and the same version of python-minimal, but the
> executable wants not to start, complaining that python is missing.
AFAICT it requires nothing but python 2.4 and the standard libraries.
The "hashbang" at the beginning of the script reads:
This is a common trick to avoid needing to know where the python
interpreter lives. Two things could go wrong with that:
1) You might not have "env" installed, or it might be somewhere
other than /usr/bin. (It's provided by gnu coreutils so i'd be amazed
if your distro doesn't have it.)
2) If you have multiple python versions installed, it's likely
that 'python' is a symlink to the wrong one. youtube-dl is hardcoded
to exit if the version is less than 2.4, with the message
'Error: Python 2.4 or later needed to run the program'
ls -l `which python`
/usr/bin/env python -V
... and see what that tells you.
If you need to keep around an earlier version of python as the default
python, a workaround is to invoke 2.4 directly,
typically something like:
python2.4 /path/to/youtube-dl ...
If that works, wrap it up as a shell alias for convenience,
e.g. in .bashrc:
alias youtube-dl="/usr/bin/python2.4 /path/to/youtube-dl"
More information about the linux-audio-user