question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jupyter_execute_notebooks = off doesn't work

See original GitHub issue

Title says it all. I wanted to test out building on pre-execeuted notebooks to circumvent a few other issues I’d encountered. Config fragment is

#######################################################################################
# Execution settings
execute:
  execute_notebooks         : off
  cache                     : ""
  exclude_patterns          : []

And produces the following output

$ jupyter-book build .
Running Sphinx v2.4.4
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: WARNING: Conf jupyter_execute_notebooks can either be `force`, `auto`, `cache` or `off`

without to do any doc build.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
bmcfeecommented, May 20, 2020

Thanks! Probably worth making this more explicit in the comments of the example docs here: https://jupyterbook.org/customize/config.html#configuration-reference

image

2reactions
choldgrafcommented, May 30, 2020

@firasm can you try upgrading to the latest jupyter book and try again? I actually just special-cased off so it should work now. (the problem is that YAML treats off as false which is why you have to add a string)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter notebook not running code. Stuck on In [*]
Go to the folder where you have your ipython notebook(.ipynb); Press shift and right click on the empty space then select "open command...
Read more >
Solve problems with Jupyter Notebooks - coursera.support
Unsaved work · Save your notebook locally to store your current progress · In the notebook toolbar, click Kernel, then Restart · Try...
Read more >
Keep Jupyter Notebook Running Even After Browser is Closed
Then, navigate to the respective jupyter notebook file in the browser and open it. Click Cell > Run All on the toolbar. All...
Read more >
Jupyter Notebook so slow and not executing cell sometimes(1 ...
Hi everyone, I encountered a problem: When I run a cell, it is so slow to run. However, if I try it again,...
Read more >
Jupyter notebook browser page not loading
I have fixed this by using jupyter lab instead of jupyter notebook at the command prompt. You can then navitage to localhost:8888/tree to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found