user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
501 stars 62 forks source link

ERROR #149

Closed Zeref-XXX closed 1 year ago

Zeref-XXX commented 1 year ago

File "server.py", line 34 yield from yt_app(env, start_response) ^ SyntaxError: invalid syntax

how can i resolve this?

user234683 commented 1 year ago

Are you running using Python 3? Python 2 isn't supported

Zeref-XXX commented 1 year ago

yes pyhon 3

and previously updated using : apt update

user234683 commented 1 year ago

Have you modified server.py at all? Could you copy its contents here? And could you give the python version given by python3 --version. Note: in many distros, python will by default run python2, so you have to run youtube-local with python3

Zeref-XXX commented 1 year ago

Have you modified server.py at all? Could you copy its contents here? Dont understand how to do it

python3 --version Python 3.9.2

user234683 commented 1 year ago

Open it in a text editor, select all the text, right click, copy. Then in the issue text box, right click, paste. What operating system? Windows? For windows you need to right click the file -> open with -> Notepad.

Also how did you install youtube-local? Zip download? Git clone? Other?

user234683 commented 1 year ago

Closing due to lack of activity