when I run pygmentize -V in my terminal I get
Pygments version 2.3.1, (c) 2006-2017 by Georg Brandl.
my Options -> Configure TexStudio -> Commands -> PdfLaTeX is set to
pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex
The first error log I get when trying to compile is:
File `pygments.sty' not found.
I know there is tons of questions regarding this, but I have looked most of them up without any solution.
my imports are in following order
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{minted}
\usepackage{graphicx}
...
The message I get when trying to run is
Error: Could not start the command: PdfLaTeX
To be fair, I can't get the error messages to dissapear. Even after deleting everything the log and the error message persists when trying to compile. I might have broken something pretty severily.
Edit
apparently the compiler is misconfigured or something. After deleting everything and attempting to build it says
Error: Could not start the command: Compile & View
Even after restoring default command pdflatex -synctex=1 -interaction=nonstopmode %.tex, making sure it is the default compiler PdfLaTeX and deleting all auxiliary files.
even though the whole file is
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\begin{document}
\section{Introduction}
\end{document}
it won't compile.
C:\Users\...\AppData\Local\Programs\Python\Python38\Scriptsafter finding the exact path on your computer (the given path is an example) – AndréC Oct 20 '20 at 22:56pygmentize ....script is located and add it to the PATH. – AndréC Oct 20 '20 at 23:00pdflatexin itself, you should be good to go. And even in Windows you would not need to setupPATHforpygmentizeto work (I use windows andpygmentswithpythontex). – Tomáš Kruliš Oct 21 '20 at 07:17