Inconsistent indentation错误在Pycharm中的解决办法 这是空格和Tab缩进混乱导致的 在Pycharm中的解决办法是,找到Edit->Convert Indents->To spaces