Python Error - IndentationError - unindent does not match any outer indentation level
If you are working with Python and seeing this error:
IndentationError: unindent does not match any outer indentation level
It probably means either one of two things.
- You may have indented your code incorrectly ( go over it and fix this ).
- You may have spaces and tabs mixed together which will be hard to spot ( replace all spaces with tabs or vice-versa ).
This is usually an incredibly easy problem to fix but it can be frustrating to spot exactly where you messed up your code.