Import scipy before turning on warnings