Python Error For the SAR Terrain Correction

I am trying to run the python codes for the Doppler Range Terrain Correction using Radarsat2 SLC. But I get the following error. Please help!