We are using RH software collections for python34 and have the following in /etc/profile.d/scl_enable_python34.sh
source scl_source enable rh-python34
This works perfectly for interactive users.
But is there a way to enable the python34 software collection to scripts/commands run through sudo?