Re #6924 Make sure we find the right python API on compute node