From fb2f0148405895cb923061c459cceceed7ad040b Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Fri, 24 Jul 2026 13:34:15 +1000 Subject: [PATCH] FIX: install quantecon in networks.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `lectures/networks.md` imports `quantecon` but its pip cell never installs it. The lecture builds today only because `markov_chains_I`, `markov_chains_II` and `eigen_II` appear earlier in the TOC and install `quantecon` into the same runner environment, so a full cold build satisfies the dependency by accident. That breaks as soon as the lecture executes on its own — the normal case with a warm `jupyter-cache`, where only the edited notebook is re-run. Observed in the Chinese edition, which carries the same gap as a faithful translation. Adds `quantecon` to the lecture's own pip cell and splits the cell to one package per line, matching `input_output.md` and the style guide. Closes #801 Co-Authored-By: Claude Opus 4.8 (1M context) --- lectures/networks.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lectures/networks.md b/lectures/networks.md index c5866b97..60102e76 100644 --- a/lectures/networks.md +++ b/lectures/networks.md @@ -16,7 +16,9 @@ kernelspec: ```{code-cell} ipython3 :tags: [hide-output] -!pip install quantecon-book-networks==1.6 pandas-datareader +!pip install quantecon +!pip install quantecon-book-networks==1.6 +!pip install pandas-datareader ``` ## Outline