nb_pdf_template
nb_pdf_template copied to clipboard
Installation fails on ubuntu 22.04
Hi!
Installing the template according to instructions fails on the second command:
$ python3 -m nb_pdf_template.install
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/ville/.local/lib/python3.10/site-packages/nb_pdf_template/install.py", line 37, in <module>
install()
File "/home/ville/.local/lib/python3.10/site-packages/nb_pdf_template/install.py", line 21, in install
raise OSError("Directory: %s not found." % dst)
OSError: Directory: /usr/lib/python3/dist-packages/nbconvert/templates/latex not found.
Obviously /usr/lib/python3/dist-packages/nbconvert/templates/latex does not exist.
python3-nbconvert-6.4.0-1 installed system-wide.