-
Notifications
You must be signed in to change notification settings - Fork 16
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
Trying to start IJulia Console: ***Kernel Died*** #60
Comments
I also have some problems. ZMQ version 1.XXX is installed while executing Pkg.add("ZMQ"). Can you answer me? Thanks, |
Really sorry to not have responded sooner (grad school.....). Happy to help troubleshoot if needed. |
Yes, I would really like to get this working, but not sure where to start. |
Hi, I've been trying to get Sublime working with Julia all day but to no avail. My ZMQ file is correctly located at: /usr/local/lib/libzmq.dylib. Julia is in my path, so that when I type "julia" into the terminal, Julia loads up perfectly. I edited the user settings in Sublime to correctly specify the location of ZMQ as suggested. I also have the latest version of Sublime 3 installed. But when I try to open Julia from within Sublime, I get the "Kernel Died" message within a "* ljulia 1 *" tab. When I run the relevant command: julia /Users/stevenhamilton/.julia/v0.3/IJulia/src/kernel.jl "/Users/stevenhamilton/Library/Application Support/Sublime Text 3/Packages/User/profile-1.json" from within the terminal, I get the following output, with no progress: Brias-MacBook-Air:~ stevenhamilton$ julia /Users/stevenhamilton/.julia/v0.3/IJulia/src/kernel.jl "/Users/stevenhamilton/Library/Application Support/Sublime Text 3/Packages/User/profile-1.json" Any help you could lend would be greatly appreciated. |
Hmmm....interesting. One thing I noticed while going through my own setup On Tue, Feb 3, 2015 at 7:28 PM, shamiltonian [email protected]
|
Thanks so much for your prompt reply. I changed "julia" to "/Applications/Julia-0.3.5.app/Contents/Resources/julia/bin/julia" in the sublime user settings page, et voila, the Julia title loads in Sublime. However, when I go to run a simple script in another tab (with "Julia" displayed in the bottom RHS of the window), I get the following error message: [Errno 2] No such file or directory: 'julia' My sense is that in the command line there, there should be no inverted commas around "julia", and then no comma before the filename. (Indeed, when I make these changes and post into terminal, it works perfectly). Or am I doing something stupid? Thanks for your continued help! |
Finally, after much playing around, I managed to get Sublime-IJulia working on Windows. Seems some file paths are processed differently. (Maybe some by Windows directly, others by Julia with some parsing?). In any case, care needs to be taken with file paths on Windows:
I played around with many combinations and got really confused. Here's the Windows extract from Sublime user settings file that worked for me:
Note that to quote path name use Cheers, Greg |
I was encountering the same build issue mentioned by shamilton on the mac, and was able to fix it by installing Fix Mac Path. Although this addresses the issue for julia-build, you still need to fully specify the path to for the IJulia Console. |
I was able to solve this issue on Mac OS 10.10 by running "which julia" on the terminal and copying the output to the "julia" field under "osx" in my Sublime-Ijulia user configuration file. I hope this helps others. |
I built Julia from source and added a symlink to /usr/local/bin to get Julia in my PATH (first suggestion in README.md). If you do this, make sure you don't point "julia" in the settings to the symlink, but to the executable directly:
This worked for me. |
@GregPlowman Your solution works! Thank you very much indeed! |
I am on mac 10.10, and I have tried all of the suggested advice but I'm still encountering the same error. my file paths are all specified in full:
Would appreciate any advice |
Hi, I am on a MacBook Pro, OSX 10.8.5, and have set all the paths,
but I still get the "Kernel died" message. Any help would be very welcome. |
I have the same problem on WinXP, Sublime 3 (3083), Julia 0.4
And I have error:
|
Hi,
I followed the procedure for installing Sublime-IJulia, but ran into the (apparently well-known) _Kernel Died_ problem.
• Windows 8.1 64-bit
• Julia v0.3.0
• Sublime Text Build 3065 (unregistered)
When I select "Sublime-IJulia: Open New IJulia Console” from the command palette, I get the following message in a new document titled “IJulia 1”
_Kernel Died_
In the console, I get:
Starting IJulia backend...
Command Executed: C:/Program Files/Julia-0.3.0/bin/julia.exe C:\Users\Greg/.julia/v0.3/IJulia/src/kernel.jl "C:\Users\Greg\AppData\Roaming\Sublime Text 3\Packages/User/profile-1.json"
Heartbeat didn't get a response
Heartbeat didn't get a response
Heartbeat didn't get a response
Heartbeat didn't get a response
Heartbeat didn't get a response
Kernel died, closing sockets....
Sockets closed...
I edited IJulia.jl, to turn on verbose mode (line 4: verbose = true) and then executed the same command from the windows command prompt:
“C:/Program Files/Julia-0.3.0/bin/julia.exe” C:\Users\Greg/.julia/v0.3/IJulia/src/kernel.jl "C:\Users\Greg\AppData\Roaming\Sublime Text 3\Packages/User/profile-1.json"
I get the following output before returning back to the windows command prompt (presumably the kernel died):
PROFILE = ["key"=>"","transport"=>"tcp","ip"=>"127.0.0.1","hb_port"=>5685,"shell
_port"=>5686,"control_port"=>5684,"stdin_port"=>5683,"iopub_port"=>5687]
If I execute the same command without the second argument (the ".../profile-1.json" argument to kernel.jl):
C:\Users\Greg>"C:/Program Files/Julia-0.3.0/bin/julia.exe" C:\Users\Greg/.julia
/v0.3/IJulia/src/kernel.jl
I get the following output and the command prompt does not return (presumable the kernel is running):
connect ipython with --existing C:\Users\Greg/profile-5192.json
SENDING IPython Msg [ idents status ] {
header = ["msg_id"=>"084e8fbd-2b10-48e3-9db0-5d1a8819d725","msg_type"=>"status
","username"=>"jlkernel","session"=>"????"],
metadata = Dict{String,Any}(),
content = ["execution_state"=>"starting"]
}
Starting kernel event loops.
Can you help me, or shed any light on this issue.
Would really like to get an editor or IDE to work with Julia.
Thanks, Greg
The text was updated successfully, but these errors were encountered: