Skip to content
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 kernel.nl not found #85

Open
jeffyangchen opened this issue Sep 3, 2016 · 4 comments
Open

IJulia kernel.nl not found #85

jeffyangchen opened this issue Sep 3, 2016 · 4 comments

Comments

@jeffyangchen
Copy link

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"
}
]
}

@Eva615
Copy link

Eva615 commented Sep 7, 2016

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?

@jrorosco
Copy link

jrorosco commented Jan 5, 2017

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.

@jrorosco
Copy link

jrorosco commented Jan 5, 2017

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"
}
]
},

@jrorosco
Copy link

jrorosco commented Jan 5, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants