master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.51k stars 155 forks source link

SynthaxError in python script #15

Closed PoepiePeppie closed 4 years ago

PoepiePeppie commented 4 years ago

After trying to execute ./av1an.py -i [filename] it spits out a syntax error. File "./av1an.py", line 22 self.bar_iteration: int = 0 ^ SyntaxError: invalid syntax

master-of-zen commented 4 years ago

Python3 required

PoepiePeppie commented 4 years ago

I have python3 installed. maybe a different dependency I am missing?

master-of-zen commented 4 years ago

But script in your case executed with Python 2. You can change what Python is default in your environment or call Python3 av1an.py

PoepiePeppie commented 4 years ago

A yes I see. that fixed it. thanks :^)