sys:1: DeprecationWarning: Non-ASCII character '\x98' in file ./youtube-dl #1057

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

Originally created by @andrewhilson on GitHub (Aug 30, 2013).

sys:1: DeprecationWarning: Non-ASCII character '\x98' in file ./youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
File "./youtube-dl", line 2
PKòÈÈÈw˜<íMëó5€Dı˙ øÛJ˝_π˙U5ۢú“Ô™;˝≥N6∫a]F >èW…@Y¥·ÏÙîyYÌù0¯»ñã˙Ƈ’¡¡≤Ã7,hÍ$≠‘´£ÉÉÉEU˚_I˘ó˘MñÊQÃK?üˇ»ıX¿9<<ƒ◊¨}œ®Sp@ØÈ]‹æ}+ïú’kŒÚåW0√™»≥*ôC€|©õ'Ÿ
^
SyntaxError: invalid syntax

Originally created by @andrewhilson on GitHub (Aug 30, 2013). sys:1: DeprecationWarning: Non-ASCII character '\x98' in file ./youtube-dl on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details File "./youtube-dl", line 2 PKòÈÈÈw˜<íMëó5€Dı˙ øÛJ˝_π˙U5ۢú“Ô™;˝≥N6∫a]F >èW…@Y¥·ÏÙîyYÌù0¯»ñã˙Ƈ’¡¡≤Ã7,hÍ$≠‘´£ÉÉÉEU˚_I˘ó˘MñÊQÃK?üˇ»ıX¿9<<ƒ◊¨}œ®Sp@ØÈ]‹æ}+ïú’kŒÚåW0√™»≥*ôC€|©õ'Ÿ ^ SyntaxError: invalid syntax
Author
Owner

@phihag commented on GitHub (Aug 30, 2013):

What is the output of python --version? This looks like you may have an outdated version of Python. As mentioned on our homepage as well as the FAQ, you need Python 2.6, 2.7, 3.3 or newer.

I'm closing this issue now because I'm certain that that is the problem, but feel free to comment, and I'll reopen it if necessary.

@phihag commented on GitHub (Aug 30, 2013): What is the output of `python --version`? This looks like you may have an outdated version of Python. As mentioned on [our homepage](http://rg3.github.io/youtube-dl/) as well as the [FAQ](https://github.com/rg3/youtube-dl#syntaxerror-non-ascii-character), you need Python 2.6, 2.7, 3.3 or newer. I'm closing this issue now because I'm certain that that is the problem, but feel free to comment, and I'll reopen it if necessary.
Author
Owner

@andrewhilson commented on GitHub (Aug 30, 2013):

python --version
Python 2.4.3 (#1, Jan 9 2013, 06:47:03)

Ah, good call. I forgot to include python2.7

@andrewhilson commented on GitHub (Aug 30, 2013): python --version Python 2.4.3 (#1, Jan 9 2013, 06:47:03) Ah, good call. I forgot to include python2.7
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#1057
No description provided.