Description
Steps to Reproduce
- Install minted package (or full installation) using tlmgr.
- Import minted package in a project and insert arbitrary minted environment to a document.
Expected Behaviour
Minted should be successfully invoked and code with syntax highlighting should be printed to the document.
Observed Behaviour
Compiling crashes with error: Package minted Error: minted v3+ executable is not installed or is not added to PATH.
.
Context
This error is already discussed here: gpoore/minted#401. It seems that apart from upgrading tlmgr packages one should also uninstall minted and install again, which should install required Python dependencies. However, even after doing these steps, latexminted stays on v1:
# latexminted --version
latexminted 0.1.0 (libraries: latex2pydata 0.4.0, pygments 2.18.0)
It looks like system latexminted has precedence on PATH. How can one successfully manage to use latexminted v2? Or probably the problem with minted executable is caused by another problem related to Docker image?
Technical Info
I installed latest toolkit and used docker's shell to install full installation. Shell escape is allowed.
Analysis
EDIT: It looks like it can be fixed by installing latexminted manually via pip3. However, is this OK approach? I thought Python dependencies should be now installed automatically by tlmgr.