python报错:Inconsistent use of tabs and spaces in indentationPylance
Posted Dontla
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python报错:Inconsistent use of tabs and spaces in indentationPylance相关的知识,希望对你有一定的参考价值。
啥情况啊?
说是本来应该是tab,变空格了,我一看果然是(但是我的确在vscode上按的tab,它自己变空格了。。。)
我把vscode重启一下,再重新输入就好了,神经病啊 ???(对了我vscode原来是英文显示,我按ctrl + shift + p,然后输入configure display language,然后选择中文,就好了)
以上是关于python报错:Inconsistent use of tabs and spaces in indentationPylance的主要内容,如果未能解决你的问题,请参考以下文章
python报错:Inconsistent use of tabs and spaces in indentationPylance
python报错:Inconsistent use of tabs and spaces in indentationPylance
python错误提示“TabError: inconsistent use of tabs and spaces in indentation”
Python文件运行时报TabError: inconsistent use of tabs and spaces in indentation
python运行错误---TabError: Inconsistent use of tabs and spaces in indentation
PyCharm出现TabError: inconsistent use of tabs and spaces in indentation最简单实用的解决办法