Package minted Error: minted v3+ executable is not installed or is not added to PATH
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.3k
- Forks
- 310
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
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: https://github.com/gpoore/minted/issues/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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Docker shell used for the toolkit installation and inspect latexminted --version and the executable selected on PATH. Compare the installed minted and Python dependencies with the system executable; done means a minted v3+ executable is selected and a document using a minted environment compiles successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, latex, python, shell
- Domain
- devops, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100