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.
Latest version of youtube-dl (2013.02.25) running on CentOS 5.x does not work #744
Comments
|
No, you didn't do anything wrong - that should work. What output do you get for
? |
|
Hi. Sorry for being off the radar ... Perhaps the above change is necessary but not sufficient, hence causing the error. Thx |
|
@DT-PI did you use pythonbrew or what to install different versions of python ? |
|
Same issue here. I used |
|
Update -- recp'd and did a MD5 checksum. It seems something got corrupted when editing the first line. Explicitly calling |
|
@DT-PI Based on the experiences of @broberts01, it looks like you may have accidentally changed the file somewhere. You can try redownloading and running
If that works, the error is in the editing. Make sure to use a hex editor and not a text one. Otherwise, simply comment and we'll reopen this issue. |
Hello. First time user.
OS version: CentOS 5.8
Python version: 2.6
File "/usr/local/bin/youtube-dl", line 2
SyntaxError: Non-ASCII character '\xcc' 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
While I can go ahead and follow the given instructions ..., I am just curious as of what I have done wrong, as I was expecting things work right out-of-the-box.
Perhaps I am doing something trivial wrong.
Sorry, if thjis is something trivial that the 1st-time user should had known.
DT
DT