Tool to Detect Surrounding Shell
conda install alphapower10_0ead::shellingham
Shellingham detects what shell the current Python executable is running in.