TexStudio cannot find texmf.cnf file

The error message:

Could not start Build & View:PdfLaTeX:

pdflatex -synctex=1 -interaction=nonstopmode "temporary_template".tex.

What do you mean about an MWE?

I installed most of the optional packages but not quite all of them (btw I’m also using texstudio). I’m unsure how to add any more now either…