make sure we use mortar installed python first if it is available