JelteF / PyLaTeX

A Python library for creating LaTeX files
https://jeltef.github.io/PyLaTeX/
MIT License
2.24k stars 287 forks source link

No LaTex compiler was found (Windows 10) #361

Closed catauggie closed 1 year ago

catauggie commented 1 year ago

Hello.

Try to compile basic example using PyLaTex. But the same error: CompilerError: No LaTex compiler was found Either specify a LaTex compiler or make sure you have latexmk or pdfLaTex installed.

Everywhere solutions for Linux. Please, help for windows 10.

ChristianKleineidam commented 1 year ago

Install a LaTeX compiler like https://miktex.org/

catauggie commented 1 year ago

Install a LaTeX compiler like https://miktex.org/

I have already installed it and I don't have idea why it doesn't work

ChristianKleineidam commented 1 year ago

Is it in your path?

catauggie commented 1 year ago

I have already added a folder to path, but maybe not that. It should contains miktex.exe?

ChristianKleineidam commented 1 year ago

No, it has to contain the compiler you want to use, so latexmk or pdfLaTex.

catauggie commented 1 year ago

No, it has to contain the compiler you want to use, so latexmk or pdfLaTex.

can you please provide an example of such path?

ChristianKleineidam commented 1 year ago

This is a Github issue and you are already abusing it by putting in personal help topic that doesn't really belong here. I don't feel like this is the place to put effort into explaining how to put things into path.

JelteF commented 1 year ago

Yes, there's enough answers for this problem on Google/stackoverflow