Getting error as "nbconvert failed: Pyppeteer is not installed to support Web PDF conversion. Please install nbconvert[webpdf]
to enable." while trying to download jupyter notebook file (.ipynb) as a PDF file
Asked
Active
Viewed 3.9k times
14

Girish Shenoy
- 429
- 1
- 4
- 10
4 Answers
22
Execute and install below packages using command prompt:
pip install nbconvert
pip install pyppeteer

Girish Shenoy
- 429
- 1
- 4
- 10
3
Execute the following commands in the command prompt to install nbconvert and puppeteer.
pip install nbconvert
pip install pyppeteer
If you get the error
nbconvert failed: No suitable chromium executable found on the system. Please use '--allow-chromium-download' to allow downloading one.
then try [Following link]

chanaka wickramasinghe
- 111
- 2
-
I followed these steps but now I get this error: `ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration` – bobsacameno Jun 29 '23 at 19:51
3
It worked, below is full command :
#To Download the ipynb to PDF into local machine
pip install nbconvert
pip install pyppeteer
jupyter nbconvert --to webpdf --allow-chromium-download untitled.ipynb

Sysanin
- 1,501
- 20
- 27

Akshay Kumar
- 61
- 2
0
If you are using anaconda and have multiple python installed in your environment try to install it from anaconda interface.
- Go to Anaconda navigator -> environments,
- Change installer to Not installed
- Search nbconvert
- Check it and hit apply
- Restart your jupyter notebook.

Michel Floyd
- 18,793
- 4
- 24
- 39

alex tektumanidze
- 11
- 1
-
my anaconda have already installed, but still cannot export JPT notebook to pdf , it still show error – Tom Tom Feb 04 '23 at 11:45