The spokesperson for President Cyril Ramaphosa said they have learned that Paris has had to withdraw its invitation due to sustained pressure from the United States.
Vincent Magwenya said they have been told that the Americans threatened to boycott the G7 if South Africa was invited.
French President Emmanuel Macron personally asked Ramaphosa to take part in the G7 during the G20 summit in South Africa in November.