Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Radiance commands not found on Mac OS (suggestions searched and tried)

asked 2020-01-10 22:42:11 -0500

oatcracker gravatar image

updated 2020-01-12 18:15:48 -0500

I installed the latest Radiance 5.2 for Mac OS using the dmg file provided on GitHub, and it is installed at:

I added the following path to the hidden file ~/.bash_profile in my user directory:
export PATH=$PATH:.:/usr/local/radiance/bin
export RAYPATH=.:/usr/local/radiance/lib

export MANPATH=$MANPATH:/usr/local/radiance/man

However, I'm still unable to locate Radiance commands in Terminal, even after restarting the computer:
$ where gensky
gensky not found

I also tried adding the paths to ~/.profile (I don't have this file, so I duplicated one from the .bash_profile), and it still didn't work...

I also tried source ~/.bash_profile. However, it only works for the current shell session, as pointed out in a post listed below.

Could it be that the ~/.bash_profile is not loaded automatically every time I log in?
May I ask how to solve this Radiance commands not found issue, if I missed something important here?

I read the tried the suggestions in these posts:

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-12 13:59:38 -0500

Are you using Catalina? Apple switched default shells from bash to zsh with the release of catalina. If you started with a fresh install of catalina (instead of upgrading from a previous mac os) your shell is probably zsh.

You can either change the default to bash as described here:

or you can add everything you put in .bash_profile to .zshrc and continue to use zsh.

edit flag offensive delete link more


Yes, Andyrew, I later found out that the Radiance paths should be put in ~/.zprofile because, as you pointed out, that the default shell has been changed from bash to zsh in the latest Mac OS Catalina. I have replied my own question previously, but somehow it was not shown here, strangely...

oatcracker gravatar imageoatcracker ( 2020-01-13 23:53:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2020-01-10 22:42:11 -0500

Seen: 55 times

Last updated: Jan 12