-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Latest Version of youtube-dl gives Python errors #4223
Comments
Can you post the output you get when add the |
Since it crashes it doesn't matter what you write after "youtube-dl". The On Mon, Nov 17, 2014 at 3:44 PM, Philipp Hagemeister <
|
Ok, then we're going to have to do this by hand:
With these additions, we should be able to reproduce the problem, and then fix it or find a workaround. Note that a similar error was reported, but for Python 2.7.0, which should no longer be in use anywhere, since it contains significant bugs such as this one and has security vulnerabilities. |
Open Suse 11.4 / 64 bit Intel python --version YAST sais: 2.7-9.40.1 (x86_64) youtube-dl was updated 2014-Nov-18 using youtube-dl -U md5sum /usr/bin/youtube-dl Thanks |
I installed Python 3.1.3 and changed the symbolic link so that the command works New error message is now |
Sorry for the needless trouble, but 3.1.3 never has been and is not supported by youtube-dl. It requires 3.3+ or a recent 2.6 or 2.7. |
Recent ??? $ youtube-dl -v $ youtube-dl https://www.youtube.com/watch?v=jzkUUSWiM_4 Back to square one - obviously. |
@eddmy Slight quiproquo it seems. @phihag meant a recent 2.7.x version, like 2.7.8 (see Downloads). Just tested with 2.7.8, works fine. |
Installing OpenSuse 11.04, I have found to be their Python version the horribly outdated 2.7.0. |
Thank you for the report! Fixed in youtube-dl 2014.11.20. See our FAQ if you have problems updating. |
Upgrading with
$ youtube-dl -U
breakes something...
$ youtube-dl
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 18, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 351, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 60, in _real_main
File "/usr/bin/youtube-dl/youtube_dl/options.py", line 122, in parseOpts
File "/usr/lib64/python2.7/optparse.py", line 1018, in add_option
raise TypeError, "invalid arguments"
TypeError: invalid arguments
Do I have to upgrade Python ?
The text was updated successfully, but these errors were encountered: