-
DescriptionI did notice #4040, but my problem does not resolve so easily.
How does quarto search for such packages, and how might I proceed to investigate this error? david@forschung:~/DTAT$ quarto render article.qmd --execute-debug -P draft:false
- Connecting to kernel
Starting julia-1.9 kernel...2023-06-06 12:33:56,727 - root - Level 25 - starting notebook server subprocess
2023-06-06 12:33:56,727 - root - Level 25 - starting notebook server subprocess
2023-06-06 12:33:56,892 - root - Level 25 - running notebook server subprocess
2023-06-06 12:33:56,893 - root - Level 25 - creating notebook server (tcp: /run/user/1000/jt/ecf2ef01077e06de6edc)
2023-06-06 12:33:56,896 - root - Level 25 - notebook server bound to port 42763
- Kernel connection successful
2023-06-06 12:33:57,060 - root - Level 25 - handling server request
- Sending execute command to kernel
- Execute command sent, reading response
2023-06-06 12:33:57,062 - root - Level 25 - executing notebook
2023-06-06 12:33:57,062 - root - Level 25 - inside notebook_execute
2023-06-06 12:33:57,103 - root - Level 25 - read notebook
- Error response received
ERROR:
The papermill package is required for processing --execute-params
david@forschung:~/DTAT$ which papermill
/usr/local/bin/papermill
david@forschung:~/DTAT$ pip show papermill
Name: papermill
Version: 2.4.0
Summary: Parametrize and run Jupyter and nteract Notebooks
Home-page: https://github.com/nteract/papermill
Author: nteract contributors
Author-email: [email protected]
License: BSD
Location: /usr/local/lib/python3.9/dist-packages
Requires: tqdm, nbformat, pyyaml, ansiwrap, click, requests, nbclient, tenacity, entrypoints
Required-by:
david@forschung:~/DTAT$ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you run `quarto check jupyter``to see which kernel are found ? Then you can look at You could then open the kernel json file to check which environment will indeed be used (e.g Which is the jupyter kernel you are using with Quarto ? It seems you are using with Julia, so you need to check which Jupyter Julia will use. Having Hope it helps give hints on what to look for |
Beta Was this translation helpful? Give feedback.
FYI
using IJulia
needs lowercase 'u', andIJulia.Jupyter
code you suggested did not work. The IJulia API offers no means for such introspection AFAICT.However, following the last bullet under 'General Troubleshooting Tips' on the IJulia Troubleshooting page I did
ENV["JUPYTER"]=""; Pkg.build("IJulia")
to rebuild IJulia to use Julia's own Conda-based Jupyter, and then didusing Conda; Conda.add("papermill")
to ensure that installation has apapermill
it can find. This did the trick, it seems; the error message has been eliminated.Edit: The parameter passing works, too.