How to solve SyntaxError on autogenerated manage.py?

NoSuchKey