Dec-13-2019, 06:57 PM
Verzeihung, it is not clear. From the code it seems
It is even questionable whether "n1.getClosest" is a class because the message says: " 'NoneType' object".
So you should search how "n1.getClosest" is defined.
n1.getClosest
is a class. And this class is expected to have a method or an attribute called label
. But it appears not to have such.It is even questionable whether "n1.getClosest" is a class because the message says: " 'NoneType' object".
So you should search how "n1.getClosest" is defined.