IndentationError: unindent does not match any outer indentation level

python缩进不一致

vim设置用空格代替tab,且为2个空格(或者4个)

sed -i "s/ /  /g" *.py

统一转换下文件里面的tab为空格

原文地址:https://www.cnblogs.com/DjangoBlog/p/4169857.html