Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube-dl: /usr/bin/env: python: No such file or directory #58

Open
schmittlauch opened this issue Jan 18, 2020 · 0 comments
Open

youtube-dl: /usr/bin/env: python: No such file or directory #58

schmittlauch opened this issue Jan 18, 2020 · 0 comments

Comments

@schmittlauch
Copy link

schmittlauch commented Jan 18, 2020

The integrated youtube-dl requires python in version 2.7 or 3.2+. On a fresh Sailfish OS installation, only python3 is installed. There is no binary or symlink available as just python, so python has to be invoked via the python3 command.
As youtube-dl contains the shebang #!/usr/bin/env python, that leads to the following error:

Bildschirmfoto_20200118_001

Fixing this should be quite simple, as we can just patch the python in the shebang to python3. This could be done in the %prep phase of the rpm build.
Unfortunately I'm currently having trouble setting up a Sailfish SDK, so I cannot provide a PR myself.

Device: Xperia X
videoPlayer version: v2.0

@schmittlauch schmittlauch changed the title youtube-dl: /usr/bin/env: pythn: No such file or directory youtube-dl: /usr/bin/env: python: No such file or directory Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant