-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
IJulia not working on Julia 1.61. on Windows 10 #1002
Comments
I've been trying IJulia ~ 3-4 times per year for a couple of years on different platforms and on windows on different machines, and I always run into this... |
|
It works fine for me, but I don't use Windows. Have you tried the troubleshooting tips? e.g. building IJulia in debug mode to see if you get additional output? https://julialang.github.io/IJulia.jl/stable/manual/troubleshooting/#Debugging-IJulia-problems |
Python cell works! How do I best run |
I think you may need to run
manually in a terminal if you want to see debugging output. |
for me the error is this. But I don't get this error if I run this from julia using Also, both the Python and R kernels work. It's just the Julia one not work. I tried to google the error, but it looks like it's looking for some .dlls which I can see in some paths.
|
Just to be clear, if you launch the same Jupyter (i.e. via I'm just confused because the error message above is occurring in Python, not Julia, so it seems like it should be independent of the kernel. I'm wondering if you have multiple versions of Jupyter installed on your machine and you are using a different one when you open Python notebooks. |
Hope this video addresses that: |
wow! |
I can take a few seconds to launch the kernel (longer if you just installed a new version and you have to wait for it to precompile). Maybe you just didn't wait long enough before? (It doesn't take an hour, though!) (It could be that Jupyter has some timeout that is too short for Julia?)
Are you sure you don't have another |
Check out your Jupyter config file ( The default |
It now suddenly started work normally after the previous adventure... Pretty sure I waited long enough, since I first got the connection error, and now that it works its ready in seconds, and I waited for around ~60 seconds...
I'm pretty sure I only run I will try on my laptop and see if I can reproduce the problem and make 100% sure I'm not doing something silly. ]add IJulia; build IJulia;
using IJulia; notebook() |
I edited them out |
I got some errors install IJulia in Julia 1.6.1 as well. I am using CentOS.
I have tried to remove the whole I reinstalled Julia 1.5.4, IJulia installation works fine. |
@jingpengw, that seems like an unrelated problem. You should open new issues for distinct problems with completely different error messages. |
Same problem (windows 10, julia 1.6.1) . The julia kernel keeps trying to reconnect. launching a python kernel from the notebook seems fine. |
Is ther a reliable way to nuke everything to od with Jupyter? Perhaps it's some weird legacy setting things. But it's really annoying that it works with R and PYthon but not Julia |
I'd be surprised if there is... I got this issue mainly on completely new windows PCs |
to add more information |
For me, neither works |
I have the same problems on Windows as well as macOS. Installing IJulia is really a nightmare. |
I've been able to replicate this issue on Julia 1.6.1 and IJulia 1.23.2 on both macOS and Windows, and successfully resolve it on both. To re-create the issue, I created a new Julia environment, did |
This can be resolved by defining a "new" kernel that activates the given environment, say
then selecting that as the kernel when creating or using Jupyter in the browser. EDIT: if you're fine working from the same top-level directory containing your
in place of |
That sounds probable from my experience... |
Yes, ironically it is a issue for experienced users who manage things with environments, like yourself and the OP, but not for new users adding this into their base env. |
typing installkernel("Julia") in REPL worked for me ...
|
@shaoyifei96 It works for you, because you added |
I have searched the issues and I found a similar issue marked as solve in 2018 for Julia 0.7. But it's not working for me. I can see the Julia kernel but when I start a notebook I get
I have tried to
]build IJulia
and reinstall Conda.jl. The python kernel works. Just the Julia one doesn't work. I have deleted the whole.julia
folder and it still doesn't work.The text was updated successfully, but these errors were encountered: