-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Julia kernel is not found anymore from 1.3 to 1.4 update when available through Conda.jl #8573
Comments
Digging into this here is what happens : Using Built conda was adding in this PR It worked in "default" way quarto-cli/src/core/jupyter/capabilities.ts Lines 26 to 33 in 83aa4af
At first detection, when quarto-cli/src/core/jupyter/capabilities.ts Lines 65 to 69 in 83aa4af
During 1.4, this was change in two commits ab5722f...48795e9 so that it "Only search for Julia conda installation when the engine language is Julia" My understanding is quarto-cli/src/core/jupyter/capabilities.ts Lines 67 to 71 in e80b903
So when kernelspec from Markdown is checked and see quarto-cli/src/core/jupyter/jupyter.ts Lines 507 to 516 in 48795e9
I don't know the context of ab5722f...48795e9 changes so I need to understand further for a correct fix, but the logic for Julia detection needs to be adapted for this specific case. @jjallaire do you remember about those commits and why "Only search for Julia conda installation when the engine language is Julia" ? Was there an issue with previous logic ? Also I am not sure when language should be set to Julia and so Julia conda found. |
Have you updated Julia to 1.10 recently? If you have, you need to run this command:
See: Updating Julia and IJulia I’m not sure if this is the problem, but I know that it has solved me these kinds of problems (kernel not found) before. |
Thanks @runjaj ! That is good advice indeed ! In most case, IJulia needs to be rebuild so that it finds Jupyter and configure kernel. Though I do believe here that the issue is happening because of how quarto tries to determine kernel. I reproduced and searched through our code as documented above. This is exclusively happening when no python installation on the system and Conda.jl only is used. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Is there a quick solution at the current status? I just followed the document to install IJulia and find that Quarto cannot find julia kernel but |
I just removed the python that quarto was using, then the quarto can find the julia kernel. Warning disappears after reboot the machine. |
This was reported in quarto-dev/quarto-actions#98
Simple document:
Only Julia is available no python, and it is configured using https://quarto.org/docs/computations/julia.html#installation
Using
quarto render test.qmd
will throw an errorit is working in 1.3.450 but fails this way with new 1.4 version
The text was updated successfully, but these errors were encountered: