-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Kernel does not start with Julia 1.9 #1062
Comments
I too have been facing the same problem with both 1.10 & 1.9. At first I thought it was my setup but after looking up online & trying different combinations of solutions, I felt 1.8.3 works and has a stable connection WIn 10 tried through Julia built-in conda/jupyter 1.9 Jupyter messages and the nudge loop keeps repeating
1.10 Jupyter messages and the nudge loop keeps repeating
|
Fixed by 30ff84b |
New version registered: JuliaRegistries/General#74432 |
I am having the same problem with 1.9-rc1. Is the new version what pkg gives me when I do
|
Spoke too soon. I can't get a kernel on 1.8.5 either. I'm on an Mac mini with an M2 Pro running the latest OS. Starting over with an empty .julia directory did not help. |
Unless it is a Mac specific issue, in my Windows 10, both 1.8.5 & 1.10-829 nightly work. The thing I found out is that every Julia update somehow resets the project path inside the jupyter kernel.json file. So I had to manually alter the kernel.json file.
1.8.5 works1.10 works |
Thanks. Where is that .json file? I assume it is somewhere in .julia/packages/IJulia, but can't find it. Have you been able to open notebooks made with older versions of Julia, like 1.6 or 1.7? |
Haven't tried it. 😇
On windows it is the standard location,
But it depends on whether you installed Conda or Juptyer through Julia or outside Julia. If you installed it through Julia, then the kernel.json file will be somewhere inside the Julia folder or in the Julia project path. What happened with me inside the kernel.json is described here: https://discourse.julialang.org/t/quarto-julia-cli-kernel-died-before-replying-to-kernel-info/91416/4 |
I am at a loss. Nothing works consistently and I have no idea how to proceed. I cannot find the .json file. I have tried taking out
out of my startup.jl, but that did not seem to change anything. I can only hope that this gets fixed eventually. As it stands now, I cannot use IJulia. Even if I create a new notebook, I can't reopen it later. I tried using the Intel builds with Rosetta, and got similar results. |
what is the path of your python? also what does the command |
I am not sure where python is. .julia/conda/deps.jl is
and
I get a kernel from new notebooks in my home directory. In subdirectories and/or with old notebooks I get the problem. I am working on an MWE. |
So you installed Conda from Julia right?
what Julia command did you use to install all this?
jupyter doesn't work because it cannot find the python path
What is MWE? |
Turns out my problem had nothing to do with Python. I had some stale Manifest.toml files that were breaking IJulia. See #1068 where I closed the issue. MWE = minimal working example |
Hi ! I noticed this issue pops up when you search for why doesn't Jupyter find installed IJulia kernel when installed in a project environment instead of default one. It seems that either IJulia kernel is not installed OR the path where Jupyter looks for the kernel is not right. What I've done as a workaround is: Install IJulia normally as a dependency for a project: Then install an IJulia kernel through this command: When installed like this, Jupyter seems to acknowledge it and you can keep it as a dependency alongside your other packages to maintain its versioning which is very useful when deploying this. |
From JuliaLang/julia#47196:
Summary: JuliaLang/julia@b7201d6 introduces a regression in IJulia. When trying to start a Julia kernel in a Jupyter notebook, Julia segfaults.
versioninfo()
Both via compiling from source and via downloading a nightly build.
Install IJulia, run
notebook()
and create a new notebook with kernel "Julia 1.9.0-DEV". After a timeout of about 1 minute, an error message "Connection failed" appears. Running everything withstrace
shows that the child Julia process launched by IJulia has segfaulted.According to JuliaLang/julia#47196 (comment) and JuliaLang/julia#47196 (comment) this is due to a bug in IJulia.
The text was updated successfully, but these errors were encountered: