[packman] python error with youtube-dl

Steven Swart steven.swart at gmail.com
Sat Feb 6 10:47:51 CET 2021


Good day, all!

I already replied to this issue, but I see that I didn't hit "reply to all".

See below.

Masaru, your solution will only work in very few cases. In most cases,
Python 2 dependencies won't work with Python 3.

Kind regards,
Steven.

On Sat, 06 Feb 2021, 11:06 Steven Swart <steven.swart at gmail.com> wrote:

> Good day, pilotgi!
>
> As I recall, I may be wrong, but the binary naming conventions for Python
> is that 'python' is for legacy Python 2, if you want to invoke Python 3,
> you have to explicitly call 'python3'.
>
> This is how both versions can coexist on one installation. Ino general,
> Python 2 scripts are not compatible with Python 3.
>
> You may need to install Python 2. As I recall though, it will be
> deprecated soon, or already has been.
>
> Kind regards,
> Steven.
>
> On Sat, 06 Feb 2021, 07:56 pilotgi <pilotgi at gmail.com> wrote:
>
>> Your youtube-dl pkg for openSUSE/Tumbleweed returns a python error when
>> attempting to download video.
>>
>> "/usr/bin/env: ‘python’: No such file or directory"
>>
>> Tumbleweed uses python38. The Tumbleweed forums suggested it might be the
>> package naming convention.
>>
>> Thanks for your attention.
>>
>> kv
>> _______________________________________________
>> Packman mailing list
>> Packman at links2linux.de
>> https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
>
>


More information about the Packman mailing list