An earthquake has set tall buildings swaying in Mexico City, causing people to leave office buildings and congregate in the streets.

There are no immediate reports of injuries or serious damage.