PyLatexを習得しようとしています。私はピップを経由して、それをインストールしてhereから基本的なコードをコピーして、私はこの問題を取得していました:スクリプトインタプリタが見つかりませんでしたので、PyLatexの基本スクリプトは実行されません
C:\Conner\Scripts>pylatAttempt.py
latexmk: The script interpreter could not be found.
latexmk: Data: scriptInterpreter="perl.exe"
Traceback (most recent call last):
File "C:\Conner\Scripts\pylatAttempt.py", line 23, in <module>doc.generate_pdf()
File "C:\Python27\ArcGIS10.2\lib\site-packages\pylatex\document.py", line 193, in generate_pdf raise(e)
subprocess.CalledProcessError: Command '[u'latexmk', u'--pdf', u'--interaction=nonstopmode', u'basic.tex']' returned non-zero exit status 1
私はMiKTeX 2.9をダウンロードし、私は何か他のものが必要なのでしょうか?ここで何がうまくいかないのですか? docsからインストールする必要があるのは、pylatexだと思われます。
Conner、私は同じ日に私のコメントを編集しようとしましたが、できませんでした!実際にはうまくいった!私は設定をする必要がありましたが、あなたが示唆したように、Perlが必要でした。 – Amin