I am having trouble setting up a LaTeX project in my PyCharm on MacOS X. I followed this video as a guide https://www.youtube.com/watch?v=bxXMZV9f9P8 and followed all the instruction - I have all the necessary programmes installed.

The problem is in the PyCharm run configuration; apparently, I have to specify a path to a custom compiler (see attached picture) in the field "Select custom compiler executable path (required on MAC OS X)".

On Windows, it would be relatively easy by just selecting the installation folder in Program Files. On Mac however, I cannot seem to find the right path - if I go through applications to a MikTex compiler, it displays only some folders but nothing I can select (like an .exe file).

Without this specification, I cannot compile the files .tex files in PyCharm, which I would like to do in order to combine it with Python code.

Thank you all in advance!

"Select custom compiler executable path (required on MAC OS X)"

  • Welcome to TeX.SE!
    – Mensch
    May 27 at 16:47
  • 1
    Why are you using MikTeX on a Mac in the first place? I'd just install MacTex (tug.org/mactex), it always sets up the same executable path for editors (etc to use): /Library/TeX/texbin/ . I doubt MikTeX does this and have no idea here it places files on a Mac.
    – daleif
    May 27 at 17:08
  • 1
    I installed PyCharm and the Texify plugin. I created a LaTeX file and run LaTeX on it with the “Run” menu. No issue at all: the program recognized that I have MacTeX installed. Do you?
    – egreg
    May 27 at 21:29
  • Have you seen this discussion on github? Also, thanks for giving TeXiFy a try! We don't have a Mac of our own, so if the wiki is missing information about how to use TeXiFy on a Mac, feel free to contribute to the wiki or start a discussion (although in this case I think the above discussion should help you).
    – Abby
    Jun 20 at 8:46


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.