Python giving error suddenly

While running the mflix I am getting syntax error for I have not modified the file.

The actual issue is with though and it’s erroring about a users-related call. Could it be there’s actually an error in the

Issue is resolved. The issue was related to python version. Had to reinstall python 3.