-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package minted Error: minted v3+ executable is not installed or is not added to PATH #298
Comments
Thank you so much for raising this issue and for the solution! I was facing a similar problem with LaTeX and the minted package, and installing latexminted via pip resolved everything. Your contribution really helped me and will certainly assist others who encounter this. For anyone else running into the same issue, make sure to install latexminted if you're having trouble with pygmentize in your LaTeX setup. Thanks again! |
Glad to hear that my fix worked for you! I look forward to any "proper" solution to this problem. For now let's hope this temporary solution didn't break any other packages 😀 |
This happened to me aswell. Fixed after upgrading and installing latexminted by:
as @andreondra suggested :) |
Thank you for raising the issue and giving a solution. |
Hi. For some reason, the docs didn't make this clear, but the legacy instructions give it. I had the same issue and days of pain, so I had to post the authoritative solution here. First, install your packages as such: And then, you must run this command manually: This is because all the LaTeX packages you download with Don't forget to enable the shell escape to use these programs when you're done! |
@shalinpather Thank you very much for your comment. However, it seems that this approach doesn't work for me currently. I still encounter the problems as follows:
Here are the versions:
Could you please kindly help me figure out the issues? Thank you so much. |
@cx0222 Please show me the contents of the file |
@cx0222 Another thing I found is that if you want to install Minted externally using |
Steps to Reproduce
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.
The text was updated successfully, but these errors were encountered: