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

Supporting LTS systems #214

Closed
johmanx10 opened this issue Nov 15, 2011 · 1 comment
Closed

Supporting LTS systems #214

johmanx10 opened this issue Nov 15, 2011 · 1 comment

Comments

@johmanx10
Copy link

@johmanx10 johmanx10 commented Nov 15, 2011

Dear team,

I use your youtube-dl on a CentOS 5 server and thus am stuck with Python 2.4
Your current version no longer works as it should with that version of Python, so I installed a parallel version of Python 2.6, since my OS heavily depends on 2.4. Now, however, I have to update the first line of the script after the shebang, replacing python with python26. This however disables the ability to automatically update youtube-dl. Do you see any option to pass along a parameter to the update flag so it knows to set a custom environment after the shebang? If not, that's fine with me, but it is nothing near impossible to pull that. If my Python was anything near I'd like it to be, I would've committed an update myself, for you to think about.

Cheers,

JM

@phihag
Copy link
Contributor

@phihag phihag commented Nov 15, 2011

While we don't officially support 2.4 and some extractors may fail because 2.4 misses some libraries, it should generally work.
If there is a bug with 2.4, feel free to file an issue for it, but make sure to include the information that you're using 2.4.

Modifying the shebang is of course possible, but you're probably better of by just aliasing youtube-dl to python2.6 youtube-dl. Alternatively, move youtube-dl to the subfolder ytdl-subfolder and create a script youtube-dl like this:

#!/bin/sh
python2.6 ytdl-subfolder/youtube-dl "$@"
@phihag phihag closed this Nov 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.