Sublime-IJulia help installation for Sublime text 3

629 views
Skip to first unread message

ccsv.1...@gmail.com

unread,
Oct 26, 2014, 7:15:42 AM10/26/14
to julia...@googlegroups.com
I tried Sublime IJulia from

https://github.com/quinnj/Sublime-IJulia

and followed the directions. Then I created a new file and put this code in

print("Hello Julia")

Then I pressed "Ctrl+B" to run it.I got an error which looks like this in the prompt:



[WinError 2] The system cannot find the file specified
[cmd: ['julia', '']]
[dir: C:\Users\NN\Desktop\python]
[path:C:\Users\NN\AppData\Roaming\Sublime Text 3\Packages\IJulia/windeps/;C:\Python33]
[Finished]


Does anyone know how to fix it so it works? I am using Sublime Text 3

Till Ehrengruber

unread,
Oct 26, 2014, 9:13:12 AM10/26/14
to julia...@googlegroups.com
Are you sure you setup the path to the julia executable right? I'm on OS X and have julia in my path so the default settings are fine for me but on windows you either need to add the julia to your path or set it up in the preferences of the sublime ijulia plugin

ccsv.1...@gmail.com

unread,
Oct 27, 2014, 4:19:32 AM10/27/14
to julia...@googlegroups.com

Julia is located at `C:\Users\NN\AppData\Local\Julia-0.3.2\bin\julia.exe`

I should I add it in path?

I do not think it is correctly there since I ran the command prompt and typed julia and it does not recognize the command

Till Ehrengruber

unread,
Oct 27, 2014, 8:54:47 AM10/27/14
to julia...@googlegroups.com

...


or whats the problem here?

It would be easier to just adjust your ijulia sublime settings (as written in the sublime ijulia documentation...)

"windows": {
   
"zmq_shared_library": "~/.julia/v0.3/ZMQ/deps/usr/lib/libzmq.dll",
   
"commands": [
       
{
           
"command_name": "default",
           
"julia": "julia-readline.exe",
           
"julia_args": "",
           
"ijulia_kernel": "~/.julia/v0.3/IJulia/src/kernel.jl"
       
}
   
]
}

change

            "julia": "julia-readline.exe",

to

     "julia": "C:\Users\NN\AppData\Local\Julia-0.3.2\bin\julia.exe",

ccsv.1...@gmail.com

unread,
Nov 22, 2014, 8:54:53 PM11/22/14
to julia...@googlegroups.com
I did that and it still gives me the same error

    [WinError 2] The system cannot find the file specified
    [cmd: ['julia', 'C:\\Users\\NN\\Desktop\\Julia\\Test.jl']]
    [dir: C:\Users\NN\Desktop\Julia]
    [path: C:\Users\NN\AppData\Roaming\Sublime Text 3\Packages\IJulia/windeps/;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\HDF_Group\HDF5\1.8.13\bin;C:\Python33; C:\Users\NN\AppData\Local\Julia-0.3.2\bin]
    [Finished]



On Monday, October 27, 2014 5:54:47 AM
Reply all
Reply to author
Forward
0 new messages