My hard drive burned out a few days ago - and once I bought a new one and reinstalled Texmaker, it refuses to compile any .tex files I make. Even something as basic as:
\documentclass{article}
\begin{document}
Hello World!
\end{document}
Always gives the same message:
Error : could not start the command : pdflatex -synctex=1 -interaction=nonstopmode "FileName".tex.
There is nothing else in the log.
What could cause this?
pdflatex --versionin a terminal window? See also, e.g. New installation – TeX editor says: "Error: Could not start the command" or “Texmaker gives an error: could not start the command” and several more related questions. – cabohah Mar 05 '24 at 08:56