Can't get the AverageBondAngle

Dear Matminers:
I can’t get the right parameters of AverageBondAge. The program always reports errors that *** has no attribute ‘get_nn_info’, what should I do to solve this question? Or can you give me some examples of calculating site features? I need to compute almost every site feature.
Here’s my code:
os.chdir(‘summarizing/1’)
s=pg.Structure.from_file(‘POSCAR’)
stru_mat=DataFrame(data={“structure”:[s]})
stru_mat=StructureToComposition().featurize_dataframe(stru_mat, “structure”)
structure=stru_mat.iloc[0][“structure”]
abl=site.AverageBondLength(method=“NearNeighbor”)
abl_feature=abl.featurize(structure,0)