Avec `\usetikzlibrary{babel}` :
\documentclass{article}
\usepackage[french]{babel}
\usepackage{pgf-pie}
\usetikzlibrary{babel}
\begin{document}
\begin{tikzpicture}
\pie{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}
\end{document}\end{document}
![alt text][1]
[1]: https://texnique.fr/osqa/upfiles/Screenshot_2024-07-30_at_17.24.30.png