Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic tests on osx, linux and windows #5

Open
betatim opened this issue May 15, 2020 · 2 comments
Open

Basic tests on osx, linux and windows #5

betatim opened this issue May 15, 2020 · 2 comments

Comments

@betatim
Copy link
Owner

betatim commented May 15, 2020

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 #4 (comment) for details on how to do this.

@Ze-sys
Copy link

Ze-sys commented May 11, 2021

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

My laptop:

20.04.2 LTS (Focal Fossa)
Python 3.8.5

My work [virtual] machine

18.04.5 LTS (Bionic Beaver)
Python 3.7.6

Error message (work machine):

ValueError: Unknown exporter "PDFviaHTML", did you mean one of: asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides?

Thanks for your work.

@Ze-sys
Copy link

Ze-sys commented May 12, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants