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

Errors in python2.6/runpy.py for youtube-dl v.2014.11.13.3 #4187

Closed
xiaose opened this issue Nov 13, 2014 · 1 comment
Closed

Errors in python2.6/runpy.py for youtube-dl v.2014.11.13.3 #4187

xiaose opened this issue Nov 13, 2014 · 1 comment

Comments

@xiaose
Copy link

@xiaose xiaose commented Nov 13, 2014

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
--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: ‘
/youtube-dl’
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�

@xiaose
Copy link
Author

@xiaose xiaose commented Nov 13, 2014

I update Python to 2.7.6 and now everything works fine... so, no question. Sorry.

@xiaose xiaose closed this Nov 13, 2014
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
1 participant
You can’t perform that action at this time.