Question concerning installing Radiance in Mac

Hi all:
I’m starting to learn Radiance and tried to install it in Mac. I followed the video of installation online and got errors in attachment. I ran a test and got another error in the second attachment.
Could someone let me know how I should fix it?
Thank you in advance.