File "manage.py", line 18 ) from exc ^ SyntaxError: invalid syntax code example Example: File "manage.py", line 17) from exc^ SyntaxError: invalid syntax try python3 insead of python