nbconvert Questions

9

I am running a python azure function which is running a jupyter notebook via the nbconvert API. This was working for a time, although without deploying new code I have started to get the following ...
Heathcote asked 18/9, 2020 at 15:25

2

I was trying to convert .ipynb to a pdf. I'm on Windows and use Jupyter via IE browser. I'm following the link http://pandoc.org/installing.html to install Pandoc. Here's what I have done: Any sug...
Goodwin asked 9/8, 2016 at 18:57

3

I am trying to import an ipynb file in a Jupyter Notebook in VS Code. However I am getting the following error everytime: Error 2021-01-02 00:31:20: Export failed [Error: Importing notebooks requir...
Decongestant asked 1/1, 2021 at 19:8

3

I want to print my jupyter notebook and share the hardcopy with non-programmer coworkers. What I have done so far: I've figured out the way to hide the code :How to hide code from cells in ipyt...
F asked 10/8, 2016 at 21:50

6

Solved

In Jupyter Notebook, I am able to convert a notebook to pdf and HTML using nbconvert. However, there is no way to convert it into .doc(Word Document). Is there a way to convert it to MS Word keepin...
Tolmann asked 8/11, 2018 at 12:26

18

Solved

How do you convert an IPython notebook file (json with .ipynb extension) into a regular .py module?
Zarah asked 13/6, 2016 at 19:29

2

I convert my Jupyter Notebooks to PDF files with the 'nbconvert' and 'notebook-as-pdf' modules with the following on the command line: jupyter nbconvert --to PDFviaHTML <mynotebook.ipynb> Th...
Gonzalez asked 20/3, 2022 at 10:40

3

I installed reprexpy 0.3.1 on PyCharm CE but when I run it, I get the following error: (...) File "/Users/serena/PycharmProjects/pythonProject2/venv/lib/python3.7/site-packages/nbconvert/expor...
Cockloft asked 27/7, 2022 at 14:39

2

Solved

I am using nbconvert for converting my .ipynb into an .pdf file. When doing so the resulting .pdf file contains a header with the filename and the current date below. How can I disable that? I was ...
Salpingectomy asked 24/11, 2022 at 0:18

5

Solved

I have a Jupyter notebook and I'd like to convert it into a Python script using the nbconvert command from within the Jupyter notebook. I have included the following line at the end of the noteboo...
Vestryman asked 29/8, 2019 at 0:31

4

Solved

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 (...
Panocha asked 2/7, 2022 at 10:6

15

Solved

I have some code in a .ipynb file and got it to the point where I don't really need the "interactive" feature of IPython Notebook. I would like to just run it straight from a Mac Terminal...
Underlayer asked 22/2, 2016 at 3:35

1

Solved

Is it possible to extract the content of a Jupyter notebook input cell programatically? Be that raw cell / code / Markdown, does not matter really. I was thinking of tools like nbconvert or papermi...
Persinger asked 9/11, 2022 at 1:31

3

Solved

I'm trying to convert a Jupyter notebook that is using RISE to visualize the slides as a slideshow in the browser into a PDF file. The PDF file should have all pages in landscape mode and resemble ...
Buccal asked 22/10, 2018 at 7:38

3

I tried downloading a Jupyter Notebook as pdf by clicking on File -> Download as -> Pdf via pyppeteer. I get the below error while doing so: nbconvert failed: No suitable chromium executable ...
Marche asked 7/3, 2021 at 7:57

3

Solved

I'm trying to automate IPython scripts using batch files and the Windows Task Manager. After much digging I've found that you can use Task Manager to trigger a BAT and through that execute the nbco...

3

Solved

I have converted a Jupyter/IPython notebook to HTML format and subsequently lost the original ipynb file. Is there a simple way to generate the original notebook file from the converted HTML file? ...
Uncritical asked 10/3, 2015 at 19:38

3

Solved

I recently updated the nbdev version of an "old" project of mine (I made a new conda environment), and now automatic tests in github (the "Run tests" part of the build) are fail...
Vexation asked 7/4, 2021 at 14:25

2

Solved

UPDATE - A solution was found, see comments, and the end of this post for further details I am using Jupyter Notebook in VS Code, and trying to export my notebook to HTML through the Notebook menu ...

4

Solved

When attempting to convert a jupyter notebook to pdf with the following command: jupyter nbconvert --to pdf "Search and Other Content Finding Features.ipynb" I'm getting an error message: ! Mis...
Autograft asked 1/5, 2018 at 18:28

1

Solved

Jupyter notebooks has a way of visualizing cell metadata so that you are able to parametrize how will cells look like when you export the notebook into slides using nbconvert. Example: For instanc...
Nitroparaffin asked 11/5, 2022 at 18:29

3

I am authoring a Jupyter notebook on my local machine that will eventually be run on a remote server (which is running Ubuntu). Every time I need to make a change I must export the notebook as a .p...
Longish asked 25/4, 2017 at 6:13

3

Solved

The pandas option max_colwidth controls how many characters will be included in the repr of a dataframe: import string, random import pandas as pd df = pd.DataFrame([''.join(random.choice(string.a...
Southwestwards asked 9/6, 2016 at 3:49

1

When saving my jupyter Notebooks with Git, I'd like to remove: Outputs (answered in https://mcmap.net/q/22593/-how-to-clear-jupyter-notebook-39-s-output-in-all-cells-from-the-linux-terminal) Exec...
Arguello asked 9/7, 2020 at 16:28

2

I have a Jupyter notebook that needs to run from the command line. For this I have the following command: jupyter nbconvert --execute my_jupyter_notebook.ipynb --to python This command creates a...
Educate asked 14/6, 2018 at 18:7

© 2022 - 2025 — McMap. All rights reserved.