When I add the reference to the french babel package my code can't compile. Here is a MWE. I have searched for a solution during hours but I failed.
\documentclass{article}
\usepackage[french]{babel}
%adding the row below also doesn't help
%\usetikzlibrary{babel}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[americanvoltages, fulldiodes,siunitx, nooldvoltagedirection]{circuitikz}
\newcommand{\equals}{=}
\begin{document}
\begin{tikzpicture}[transform shape, thick]
\draw (0, 0) to [V, i_>={$i$},
l={$V$}, invert] (0, 4)
to [R, l={$R_1$}] (4, 4) node[right] {$A$}
to [R, l={$R_2$}] (4, 0)
to node[ground]{} (0,0);
\draw[fill=black] (4,4) circle (1.5pt);
\draw[fill=black] (4,0) circle (1.5pt);
\end{tikzpicture}
\end{document}
Thanks a lot for your help
\usetikzlibrary{babel}
does help, but you must naturally put the command after loading tikz/circuitikz.