Wickets continued to tumble and Colin Smith (nine) was next to go when run out by Odoyo before Odhiambo bowled McCallum (10) to leave Scotland deep in trouble on 82 for six.
Collins Obuya, who top scored for the Africans with 32, and Thomas Odoyo, briefly rallied with a fifth-wicket partnership of 49 but that was broken when Wright had the former caught by Neil McCallum.