从下面找到了解决方案: https://stackoverflow.com/questions/23383699/sublime-text-3-disable-python-checker-warning-indentation-contains-tabs sublime上方工具栏: View -> Indentation -> Convert Indentation to Spaces