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

Error when downloading latest version #6279

Closed
ajspencer opened this issue Jul 18, 2015 · 1 comment
Closed

Error when downloading latest version #6279

ajspencer opened this issue Jul 18, 2015 · 1 comment

Comments

@ajspencer
Copy link

@ajspencer ajspencer commented Jul 18, 2015

I downloaded the latest version using the commands

sudo curl https://yt-dl.org/downloads/2015.07.18/youtube-dl -o /usr/local/bin/youtube-dl

sudo chmod a+rx /usr/local/bin/youtube-dl

And received the following error when trying to turn commands, including youtube-dl -v

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 16, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 16, in
File "/usr/local/bin/youtube-dl/youtube_dl/options.py", line 8, in
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/init.py", line 3, in
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 8, in
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 82, in
AttributeError: 'module' object has no attribute '_asciire'

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 18, 2015

This is already fixed and will be available in the next version.
You can also fix this by updating python to 2.7.4 or later. Or you can use previous version https://yt-dl.org/downloads/2015.07.07/youtube-dl.

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.