AICoE / prometheus-anomaly-detector

A newer more updated version of the prometheus anomaly detector (https://github.com/AICoE/prometheus-anomaly-detector-legacy)
GNU General Public License v3.0
597 stars 151 forks source link

SyntaxError: invalid syntax File "app.py", line 68 #97

Closed DirkFries closed 4 years ago

DirkFries commented 4 years ago

Hi @all,

while trying to get started with the latest version I encounterd the following error:

host:~/prometheus-anomaly-detector-master # python app.py File "app.py", line 68 async def get(self): ^ SyntaxError: invalid syntax

Maybe this one could somehow be connected to https://github.com/AICoE/prometheus-anomaly-detector/issues/96 but I am not quite sure, so I filed 2 seperate issues

Bye, Dirk

goern commented 4 years ago

Heya, thanks for the issue. could you pls let us know what version of python you use?

DirkFries commented 4 years ago

Hi goern,

I am using Python 2.7 and I just found out, that Python 3.6 is required. So I'm going to set up a new machine to get started with this pretty interesting project :-)

Thanks a lot!