Open jeffyangchen opened 8 years ago
I'm currently having the same error message pop up. JChen2857, were you able to resolve your issue? If so, how were you able to?
I had this same issue with Julia v0.5. I updated my 'ijulia_kernel' path to reflect the updated version.
I can now start an IJulia REPL tab without receiving the "kernel not found" message, but the REPL tab just hangs with no Julia logo displayed. The message "IJulia kernel is working...," displays in the status bar, but the tab just continues to hang indefinitely.
Adding my settings config:
"osx": { "zmq_shared_library": "/Users/jeremy/.julia/v0.5/Homebrew/deps/usr/lib/libzmq.dylib", "commands": [ { "command_name": "default", "julia": "/Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia", "julia_args": "", "ijulia_kernel": "~/.julia/v0.5/IJulia/src/kernel.jl" } ] },
I was able to resolve this issue. The problem is that the IJulia banner is not being displayed properly and it causes the process to hang. See resolution proposed here.
First make sure that all of your versions/paths are correctly updated in the configuration. Use absolute paths if the executables are not in your path. E.g., my current config:
"osx": { "zmq_shared_library": "/Users/jeremy/.julia/v0.5/Homebrew/deps/usr/lib/libzmq.dylib", "commands": [ { "command_name": "default", "julia": "/Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia", "julia_args": "", "ijulia_kernel": "/Users/jeremy/.julia/v0.5/IJulia/src/kernel.jl" } ] },
Once that is settled, use "package resource viewer" (installed via Package Control) to open the resource/file "IJulia -> Kernel.py".
Change line 328 from:
data = m.content['data']
to
data = m.content['text']
Now restart Sublime for good measure and then try opening an IJulia REPL. You should see the banner followed by the prompt.
I've been trying to set up Sublime-IJULIA per https://github.com/quinnj/Sublime-IJulia. However I am running the following opening ijulia: IJulia kernel.jl file not found at /Users/jeffchen/.julia/v0.3/IJulia/src/kernel.jl.
Here is my setup:
"osx": { "zmq_shared_library": "/Users/jeffchen/.julia/v0.4/Homebrew/deps/usr/lib/libzmq.dylib", "commands": [ { "command_name": "default", "julia": "/Applications/Julia-0.4.6.app", "julia_args": "", "ijulia_kernel": "~/.julia/v0.3/IJulia/src/kernel.jl" } ] }