I tried to include SVG image into the LaTex. My code is as follows:
\documentclass[a4paper,12pt]{book}
\usepackage{svg}
\begin{document}
\begin{figure}[ht]
\centering
\includesvg[width=0.4\textwidth]{Figures/1}
\caption{svg}
\label{fig:1}
\end{figure}
\end{document}
I put all pictures in one file named Figures. When I run this code in Overleaf, there is no error. But if I run this one in TexWorks (on my laptop), there will an issue:

\usepackage{svg}. Glancing at the package docs, I think you might need to enableshell-escape: https://tex.stackexchange.com/a/82710/ – Torbjørn T. Apr 30 '21 at 21:42./svg-inkscape/fig1_svg-tex.pdf' althoughFigures/fig1.svg' was found. ? – Hermi Apr 30 '21 at 21:55\includegraphics(and yes, I know why one might want to do differently). – Fran Apr 30 '21 at 22:30$\sum$with the LaTeX extension of Inkscape, what I I see is "∑" in the SVG and in the PDF. Using a draw properly scaled, with the right font and the right font size, this should be enough even if you want to match the font of the image with the font with the main text (that IMHO, t's not even convenient). – Fran May 01 '21 at 14:53--shell-escapeflag – mrpiggi May 01 '21 at 21:58