This page lists the most recent (direct) national elections in African countries.
Eritrea, since independence, has repeatedly postponed elections.
Libya does not hold elections, it is a dictatorship