The earthquake struck late on Friday evening with the epicentre 75km west of Marrakesh, a major economic centre.