If user's shell is not bash then python scripts will be launched with wrong $PATH
Scripts are launched with bash -c it2_api_wrapper.sh /path/to/env filename
. If the user's shell is not bash then their .tcshrc/config.fish/.zshrc isn't sourced. We should guess their shell and run tcsh -c
or zsh -c
or fish -c
.