This question already has an answer here:

I am using Windows 8.1, MiKTeX 2.9, TeXstudio. Everything including packages are fully updated.

I am trying to compile this:





And getting this error:

Question: What to do?

marked as duplicate by TeXnician, Community Sep 3 '18 at 10:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    as the error message says, you need pdflatex --shell-escape yourfile.tex not pdflatex yourfile.tex – David Carlisle Sep 3 '18 at 10:23
  • @DavidCarlisle How to do that on Windows? – vasili111 Sep 3 '18 at 10:24
  • 2
    well I tend to use the commandline so I would just type what I wrote. If you ask how to configure texstudio I do not know I don't have that editor, but it may have an option already – David Carlisle Sep 3 '18 at 10:25
  • 1
    a simple site search suggests tex.stackexchange.com/questions/358289/… – David Carlisle Sep 3 '18 at 10:26