Reputation: 31
I've encountered the problem of nbconvert failed: Playwright is not installed to support Web PDF conversion. Please install nbconvert[webpdf]
to enable., when I was planning to convert jupyter notebook into webpdf on my mac, after that I've download the pyppeteer and nbconvert by using pip install command
, I still couldn't convert jupyter notebook file into webpdf, why's that? Do I need to brew install that
or something? (besides, I can already convert notebook to pdf by installing Tex related packages on my computer)
pip install nbconvert
and pip instal pyppeteer
Upvotes: 0
Views: 1772
Reputation: 31
Sorry guys, I should've tried out more...
After I type in the command line:
jupyter nbconvert C3_W2_Collaborative_RecSys_Assignment.ipynb --to webpdf --debug --allow-chromium-download
, I found that there's one python package missing: ModuleNotFoundError: No module named 'playwright'
, then I installed that by typing pip install playwright
and type in the converting command again, pop!, problem solved.
Upvotes: 3