An earthquake with a magnitude of 6.5 struck near the city of Cochabamba in southeastern Bolivia early on Friday, the U.S. Geological Survey said.