Comoros has endured more than 20 coups or attempted coups since gaining independence from France in 1975 .