indentation, which is the spaces at the beginning of a line, are part of the foundamental syntax of python
the code you have given is not enough to see what the error is, but if you have never done so, I suggest to look up python syntax before trying to use Python in any way
the error means that the indentation you have used can’t be interpreted, it is meaningless