Tuesday, 15 February 2011

python - IPython nbconvert error (ipynb to pdf) -



python - IPython nbconvert error (ipynb to pdf) -

it seems missing, doesn't provide farther information. give hint?

the command ipython nbconvert --to latex --post pdf week_report_2014-10-19.ipynb"

the output messages below. give thanks much.

[nbconvertapp] using existing profile dir: u'/users/elsdrm/.ipython/profile_default' [nbconvertapp] converting notebook week_report_2014-10-19.ipynb latex [nbconvertapp] back upwards files in week_report_2014-10-19_files/ [nbconvertapp] loaded template article.tplx [nbconvertapp] writing 13726 bytes week_report_2014-10-19.tex [nbconvertapp] building pdf [nbconvertapp] running pdflatex 3 times: [u'pdflatex', u'week_report_2014-10-19.tex'] traceback (most recent phone call last): file "/usr/local/bin/ipython", line 11, in <module> sys.exit(start_ipython()) file "/library/python/2.7/site-packages/ipython/__init__.py", line 120, in start_ipython homecoming launch_new_instance(argv=argv, **kwargs) file "/library/python/2.7/site-packages/ipython/config/application.py", line 564, in launch_instance app.start() file "/library/python/2.7/site-packages/ipython/terminal/ipapp.py", line 367, in start homecoming self.subapp.start() file "/library/python/2.7/site-packages/ipython/nbconvert/nbconvertapp.py", line 268, in start self.convert_notebooks() file "/library/python/2.7/site-packages/ipython/nbconvert/nbconvertapp.py", line 311, in convert_notebooks self.postprocessor(write_resultes) file "/library/python/2.7/site-packages/ipython/nbconvert/postprocessors/base.py", line 28, in __call__ self.postprocess(input) file "/library/python/2.7/site-packages/ipython/nbconvert/postprocessors/pdf.py", line 140, in postprocess cont = self.run_latex(filename) file "/library/python/2.7/site-packages/ipython/nbconvert/postprocessors/pdf.py", line 104, in run_latex self.latex_count, log_error) file "/library/python/2.7/site-packages/ipython/nbconvert/postprocessors/pdf.py", line 84, in run_command p = subprocess.popen(command, stdout=stdout, stdin=null) file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__ errread, errwrite) file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/subprocess.py", line 1326, in _execute_child raise child_exception oserror: [errno 2] no such file or directory if suspect ipython bug, please study at: https://github.com/ipython/ipython/issues or send email mailing list @ ipython-dev@scipy.org can print more detailed traceback right "%tb", or utilize "%debug" interactively debug it. extra-detailed tracebacks bug-reporting purposes can enabled via: c.application.verbose_crash=true

given error fails @ pdflatex i.e. tex->pdf stage, have pdflatex or different latex compiler installed? looks .tex file generated not .pdf

python latex ipython

No comments:

Post a Comment