YAD2K icon indicating copy to clipboard operation
YAD2K copied to clipboard

./yad2k.py invalid syntax

Open job2003 opened this issue 6 years ago • 2 comments

I run the following command:

./yad2k.py -- help

File "./yad2k.py", line 241 print(cfg_parser[section]['anchors'], file=f)

SyntaxError: invalid syntax

There's also ^ sign pointing to "file=f" in the error message. How can I resolve this?

Thank you!

job2003 avatar Aug 01 '18 14:08 job2003

Using python3 fixed this for me.

Note: you will need to reinstall the dependencies using pip3

EmericW avatar Aug 09 '18 18:08 EmericW

image

I used python3 but it had error. Please help me.

mainguyenanhvu avatar May 26 '19 14:05 mainguyenanhvu