Error with photonlibpy

Hello, I am a programmer from 8024. We are attempting to implement a raspberry pi 3 with a photon pose estimator for pose estimation, but every time we run it in sim it fails with the error: “Attribute Error: NoneType object has no attribute ‘estimates pose’”. Would anyone know what might cause this? For context, I will attach a picture of the related code