I've killed it #1771

Closed
opened 2026-02-20 22:17:08 -05:00 by deekerman · 2 comments
Owner

Originally created by @Remontoire on GitHub (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

Originally created by @Remontoire on GitHub (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
Author
Owner

@phihag commented on GitHub (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 commented on GitHub (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 ``` ?
Author
Owner

@Remontoire commented on GitHub (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:
https://github.com/rg3/youtube-dl/issues/2217#issuecomment-33151071

Ian

@Remontoire commented on GitHub (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: > https://github.com/rg3/youtube-dl/issues/2217#issuecomment-33151071 ## Ian
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#1771
No description provided.