Open betatim opened 4 years ago
I really like this extension and it is working very well on my personal Ubuntu machine. But it does not work on my work machine, after following the same installation procedures.
!pip install notebook-as-pdf
!pyppeteer-install
and then,
!jupyter-nbconvert --to PDFviaHTML file.ipynb --no-input
20.04.2 LTS (Focal Fossa) Python 3.8.5
18.04.5 LTS (Bionic Beaver) Python 3.7.6
ValueError: Unknown exporter "PDFviaHTML", did you mean one of: asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides?
Thanks for your work.
Please ignore the error comment above. I wasn't paying enough attention during installation. Installing in the right virtual environment ( with python 3.7.6) fixed the issue.
Thsi project should be able to run on windows, osx and linux. Testing all different platforms is hard, in particular because each individual doesn't have access to all of the platforms.
Setting up some basics tests that are cross-platform would be great.
Check out https://github.com/betatim/notebook-as-pdf/pull/4#issuecomment-628024626 for details on how to do this.