Skip to content
Advertisement

Tag: pdflatex

‘pdflatex’ not found in subprocess within a bundled PyInstaller APP

I am attempting to create a macOS standalone app from a PyQt5 GUI using PyInstaller. All works apart from automatically generating a PDF from a TEX file using the pdflatex module (in conjunction with Pylatex). Both the pylatex and pdflatex modules require calling the subprocess module, which is done as following: Where args=[‘pdflatex’, ‘-output-directory=/Users/Desktop’, ‘-interaction-mode=batchmode’, ‘-jobname=test’] This however does not

Advertisement