M220: Not able to run run.py

While running python run.py on command prompt, getting below error:

(mflix) C:\Users\dindu\Downloads\mflix-python>python run.py
Traceback (most recent call last):
File “run.py”, line 1, in
from mflix.factory import create_app
File “C:\Users\dindu\Downloads\mflix-python\mflix\factory.py”, line 12, in
from mflix.api.movies import movies_api_v1
File “C:\Users\dindu\Downloads\mflix-python\mflix\api\movies.py”, line 233
SyntaxError: invalid syntax

Make sure that you are running the script using Python version 3.5 and above

1 Like