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.
SyntaxError: Non-ASCII character '\x92' in file /usr/local/bin/youtube-dl on line 3 #1131
Comments
|
That's indeed curious. How did you install youtube-dl? I cannot reproduce this problem:
|
|
I used
to download it |
|
It looks like something went awry with the download. What do you get when you type
, and does the problem persist if you download the file again? |
I've downloaded twice, and the issue still percists.
|
|
That's not the correct md5sum, can you send me the donwloaded file via email or upload it somewhere? In any case, someone (say, your ISP) may be injecting random data. If you download the file via https (i.e.
do you get a different md5sum? |
|
Hi, did you by any chance try to change the path of your python interpreter using vim? I did this and I believe because of bad encoding it messed up the script. I then did those changes on a windows machine using notepad++ and everything worked all right. Sorry for digging up the thread but maybe someone is having the problem and this might be a solution. Cheers |
|
I remove youtube-dl and put all this. In my case: sudo apt-get remove youtube-dl #wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl for example. and it works for me. |
And yes, I read the FAQ