Re: [linux-audio-user] flash 9 beta

From: Dragan Noveski <perodog@email-addr-hidden>
Date: Fri Oct 20 2006 - 21:00:27 EEST

Paul Winkler wrote:
>>>
>> 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:
> #!/usr/bin/env python
>
> 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.)
> Try this:
> env --version
> which env
>
> 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'
>
> Try this:
>
> ls -l `which python`
>
> and/or
>
> /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"
>
>
hi,
that was right, i had python as a symlink to python2.3, so i removed and
put the link to python2.4.

now it works!
thanks very much for the help and cheers,
doc
Received on Sat Oct 21 00:15:03 2006

This archive was generated by hypermail 2.1.8 : Sat Oct 21 2006 - 00:15:03 EEST