On Thu, Mar 31, 2016 at 12:55 PM, Justin Vrooman <[email protected]> wrote: > When I open a new Julia 0.4.5 Notebook I get the error message: "The kernel > appears to have died. It will restart automatically." > > To attempt to debug this I went to the terminal and in Julia ran "using > IJulia" and got the following results: > > julia> using IJulia > INFO: Precompiling module IJulia... > Cannot open cache file "/usr/local/share/julia/site/lib/v0.4/ZMQ.ji.eP1Pah" > for writing. > ERROR: LoadError: Failed to precompile ZMQ to > /usr/local/share/julia/site/lib/v0.4/ZMQ.ji > in compilecache at loading.jl:400 > [inlined code] from none:2 > in anonymous at no file:0 > while loading /usr/local/share/julia/site/v0.4/IJulia/src/IJulia.jl, in > expression starting on line 15 > ERROR: Failed to precompile IJulia to > /usr/local/share/julia/site/lib/v0.4/IJulia.ji > in compilecache at loading.jl:400 > > > I cannot determine what is wrong. The IJulia installation appears to have > completed successfully: > > INFO: Initializing package repository /usr/local/share/julia/site/v0.4 > INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl > INFO: Cloning cache of BinDeps from > git://github.com/JuliaLang/BinDeps.jl.git > INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git > INFO: Cloning cache of Conda from git://github.com/Luthaf/Conda.jl.git > INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git > INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git > INFO: Cloning cache of Nettle from > git://github.com/staticfloat/Nettle.jl.git > INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git > INFO: Cloning cache of URIParser from > git://github.com/JuliaWeb/URIParser.jl.git > INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git > INFO: Installing BinDeps v0.3.21 > INFO: Installing Compat v0.7.13 > INFO: Installing Conda v0.1.9 > INFO: Installing IJulia v1.1.8 > INFO: Installing JSON v0.5.0 > INFO: Installing Nettle v0.2.2 > INFO: Installing SHA v0.1.2 > INFO: Installing URIParser v0.1.3 > INFO: Installing ZMQ v0.3.1 > INFO: Building Nettle > INFO: Building ZMQ > INFO: Building IJulia > INFO: Found Jupyter version 4.0.6: jupyter > Writing IJulia kernelspec to > /usr/local/share/julia/site/v0.4/IJulia/deps/julia-0.4/kernel.json ... > Installing julia kernelspec julia-0.4 > [InstallKernelSpec] Installed kernelspec julia-0.4 in > /root/.local/share/jupyter/kernels/julia-0.4 > INFO: Package database updated > > > Has anyone ever seen this problem? Or does anyone have any advice/ideas? > > Anyone's help is greatly appreciated. > > Thanks, > - Justin
What exactly is you setup? It seems that you are running as root and point the cache directly to a non-writable path.
