Bin mal auf TeXworks gewechselt.
MikTex ist die aktuelle Version. Alles läuft nur das Paket minted nicht.
Pyhton deinstalliert und über den Microsoft-Store neu installiert.
where latexminted gibt
C:\Program Files\Python312\Scripts\latexminted.exe
aus.
where pygmentize gibt
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\pygmentize.exe
aus.
% !TeX TXS-program:compile = txs:///pdflatex/[--shell-escape]
\documentclass{article}
\usepackage{minted}
\begin{document}
\begin{minted}{c}
int main() {
printf("hello, world");
return 0;
}
\end{minted}
\end{document}
Es kommt immer die gleiche Fehlermeldung.
Package minted Error: minted v3+ executable is not installed, is not added to
PATH, or is not permitted with restricted shell escape; or MiKTeX is being use
d with -aux-directory or -output-directory without setting a TEXMF_OUTPUT_DIREC
TORY environment variable.
Pfade:
TEXMF_OUTPUT_DIRECTORY:
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\
PATH:
C:\Users\Mein_Username\AppData\Local\Programs\MiKTeX\miktex\bin\x64\
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts
c:\users\Mein_Username steck\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (2.19.1)
C:\Program Files\Python312\Scripts
C:\Program Files\Python312\Scripts\
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\
Keine Ahnung,was wo falsch eingestellt ist. Bisher konnte ich alle Latex-Pakete problemlos zum laufen bringen.
Bin mal auf TeXworks gewechselt.
MikTex ist die aktuelle Version. Alles läuft nur das Paket minted nicht.
Pyhton deinstalliert und über den Microsoft-Store neu installiert.
where latexminted gibt
C:\Program Files\Python312\Scripts\latexminted.exe
aus.
where pygmentize gibt
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\pygmentize.exe
aus.
[code]
% !TeX TXS-program:compile = txs:///pdflatex/[--shell-escape]
\documentclass{article}
\usepackage{minted}
\begin{document}
\begin{minted}{c}
int main() {
printf("hello, world");
return 0;
}
\end{minted}
\end{document}[/code]
Es kommt immer die gleiche Fehlermeldung.
Package minted Error: minted v3+ executable is not installed, is not added to
PATH, or is not permitted with restricted shell escape; or MiKTeX is being use
d with -aux-directory or -output-directory without setting a TEXMF_OUTPUT_DIREC
TORY environment variable.
Pfade:
TEXMF_OUTPUT_DIRECTORY:
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\
PATH:
C:\Users\Mein_Username\AppData\Local\Programs\MiKTeX\miktex\bin\x64\
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts
c:\users\Mein_Username steck\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (2.19.1)
C:\Program Files\Python312\Scripts
C:\Program Files\Python312\Scripts\
C:\Users\Mein_Username\AppData\Roaming\Python\Python312\Scripts\
Keine Ahnung,was wo falsch eingestellt ist. Bisher konnte ich alle Latex-Pakete problemlos zum laufen bringen.