SPECT/SIMIND TEW & Attenuation map

Hello everyone!
I’m trying to solve two errors (TEW & Attenuation map).
I want to TEW, but when I enter the following code I get an error .
And ,I want to create an attenuation map, but I get the following error.


Youtube video was used as a reference .I’m a biginner, so this may be basic, but please help!

https://youtu.be/bpeLMtF4Zio?si=eWH0kJnd1buHuLd9