AttributeError Traceback (most recent call last) <ipython-input-23-917f85f49c5a> in <module>() 22 23 # 找到女朋友的地理位置 ---> 24 location.run() <ipython-input-22-b1546ea24716> in run(self) 9 10 def run(self): ---> 11 coordinate = self.__get_image_ability() 12 13 print(f'获取到经度、纬度是:{coordinate}') AttributeError: 'Location' object has no attribute '_Location__get_image_ability'
AttributeError Traceback (most recent call last)
in ()
22
23 # 找到女朋友的地理位置
---> 24 location.run()
in run(self)
9
10 def run(self):
---> 11 coordinate = self.__get_image_ability()
12
13 print(f'获取到经度、纬度是:{coordinate}')
AttributeError: 'Location' object has no attribute '_Location__get_image_ability'