Has there ever been a woman prime minister in France?

Yes. Édith Cresson was the first and only Prime Minister of France thus far from 1991 May 15 to 1992 April 2.