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

I've killed it #2217

Closed
Remontoire opened this issue Jan 23, 2014 · 2 comments
Closed

I've killed it #2217

Remontoire opened this issue Jan 23, 2014 · 2 comments

Comments

@Remontoire
Copy link

@Remontoire Remontoire commented Jan 23, 2014

I was trying to update and I killed it. Any suggestions?

$ youtube-dl -f http://www.youtube.com/*
File "/usr/local/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\xe9' in file /usr/local/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
Python 2.7.3
youtube_dl-2014.01.21.1

$ youtube-dl --version
File "/usr/local/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\xe9' in file /usr/local/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

$ youtube-dl --update / or / sudo youtube-dl --update
File "/usr/local/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\xe9' in file /usr/local/bin/youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
SyntaxError:Non-ASCII character

@phihag
Copy link
Contributor

@phihag phihag commented Jan 23, 2014

Don't worry, you can simply reinstall with

sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl

That should get it running. If not, can you check the env binary by posting the output you get for

/usr/bin/env python --version

?

@phihag phihag closed this Jan 23, 2014
@Remontoire
Copy link
Author

@Remontoire Remontoire commented Jan 23, 2014

A slam dunk, thanks very much. With the "--no-check-certificate"
option it installed without a hitch.

On 23/01/2014, Philipp Hagemeister notifications@github.com wrote:

Don't worry, you can simply reinstall with

sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl

That should get it running. If not, can you check the env binary by
posting the output you get for

/usr/bin/env python --version

?


Reply to this email directly or view it on GitHub:
#2217 (comment)

Ian

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.