anaconda spyder里面出现AttributeError tuple object hasnoAttribute grid

img

img

AttributeError tuple object hasnoAttribute grid
说明你的变量是元祖,不能调用grid属性,你看看这个报错所在代码,输出变量看看