. Advertisement .
..3..
. Advertisement .
..4..
The error: “nbconvert failed: No suitable chromium executable found on the system. Please use ‘–allow-chromium-download’” is a common error that can show up in many ways. In this blog, we will go through some of the ways you can fix this issue. Read on.
Why dose this error happen?
When attempting to utilize Pyppeteer to download Jupyter Notebook as a pdf, here is the process you did, click on File
-> Download as
-> Pdf
via pyppeteer. Then, install pyppeteer by running command conda install -c conda-forge pyppeteer,
you may experience the following issue:
nbconvert failed: No suitable chromium executable found on the system. Please use '--allow-chromium-download' to allow downloading one.
How To Solve The Error: “nbconvert failed: No suitable chromium executable found on the system. Please use ‘–allow-chromium-download’”?
Approach 1: Permit chromium to download file
Utilize this command to permit Chrome to download the file.
Simply utilize your notebook to run the following command in your terminal:
jupyter nbconvert --to webpdf --allow-chromium-download Untitled.ipynb
Approach 2: Use pyppeteer-install
- Run the anaconda terminal
- Simply run the following command in conda terminal
pyppeteer-install
If you’ve already installed the puppeteer package, perform the following command as well. This will install the latest version of Chrome.
Conclusion
We hope you enjoyed our article about the error. With this knowledge, we know that you can fix your error: “nbconvert failed: No suitable chromium executable found on the system. Please use ‘–allow-chromium-download’” quickly by following these steps! If you still have any other questions about fixing this syntax error, please leave a comment below. Thank you for reading!
Leave a comment