Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Errors in python2.6/runpy.py for youtube-dl v.2014.11.13.3 #4187
Comments
|
I update Python to 2.7.6 and now everything works fine... so, no question. Sorry. |
I cannot use youtube-dl at all on my Mac but previously it works fine... now all time I'v got python errors so I download last version of youtube-dl but still got errors...
Is it because of my python version or it smth. in youtube-dl?�
Below are some terminal output:
$ wget https://yt-dl.org/downloads/2014.11.13.3/youtube-dl -O
/youtube-dl/youtube-dl’--2014-11-13 18:26:10-- https://yt-dl.org/downloads/2014.11.13.3/youtube-dl
Resolving yt-dl.org (yt-dl.org)... 95.143.172.170, 2001:1a50:11:0:5f:8f:acaa:177
Connecting to yt-dl.org (yt-dl.org)|95.143.172.170|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 659001 (644K) [application/octet-stream]
Saving to: ‘
100%[===========================>] 659 001 900KB/s in 0,7s
2014-11-13 18:26:11 (900 KB/s) - ‘~/youtube-dl’ saved [659001/659001]
�
$ chmod 777 ./youtube-dl
$ ./youtube-dl --version --verbose
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 121, in _run_module_as_main
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 34, in _run_code
File "./youtube-dl/main.py", line 18, in
File "./youtube-dl/youtube_dl/init.py", line 351, in main
File "./youtube-dl/youtube_dl/init.py", line 60, in _real_main
File "./youtube-dl/youtube_dl/options.py", line 115, in parseOpts
TypeError: init() keywords must be strings�
$ python -V
Python 2.6.1
$ sw_vers -productVersion
10.6.8
$ �system_profiler SPSoftwareDataType
System Version: Mac OS X 10.6.8 (10K549)
Kernel Version: Darwin 10.8.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: y5h4u’s iMac
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: No
Time since boot: 8 days 1:35�