NAIROBI, Kenya — Florence Makau once made $10 a day selling used clothes from inside a former shipping container, enough to feed her three children, pay their school fees and cover the rent. That was during better times in Kibera, a crowded working-class Nairobi neighborhood.

Times are no longer that good in Kibera — or elsewhere in Kenya. Government institutions blame drought and rising oil prices, but another reason has afflicted Kenyans across the socioeconomic spectrum: Politics.

Kenya endured an unexpectedly long and volatile election period, capped on Tuesday when Uhuru Kenyatta was sworn in for a second term as president. Many hope his inauguration will end the country’s political uncertainty, but much economic damage has already been done.

“It’s a lost year. Completely,” said Emma Gordon, a senior analyst for sub-Saharan Africa at Verisk Maplecroft, a global risk assessment firm.