Reputation: 2442
After running Pkg.update()
I ran into the following error message regarding IJulia installation:
WARNING: Module BinDeps uuid did not match cache file
===============================[ ERROR: IJulia ]================================
LoadError: __precompile__(true) but require failed to create a precompiled cache file
while loading /home/om/.julia/v0.4/IJulia/deps/build.jl, in expression starting on line 2
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: IJulia had build errors.
- packages with build errors remain installed in /home/om/.julia/v0.4
- build the package(s) and all dependencies with `Pkg.build("IJulia")`
- build a single package by running its `deps/build.jl` script
================================================================================
Anyone knows what could be the problem here?
Upvotes: 2
Views: 327
Reputation: 782
I have fought installing IJulia for few hours and my arrival here was the first starting point. Now, after this cumbersome process, I have decided that this info could be useful for the next generations:
<julia>
<julia>\env
<julia>\env\home
a.k.a. <home>
<julia>\env\appdata
a.k.a. <appdata>
set HOME=<appdata>&& set APPDATA=<appdata>&& <julia>/bin/julia.exe
Note that I had to glue the &&
to the paths due to my specific call (I was using Cmder). Julia interestingly - did not cut the whitespace at the end.Pkg.add("IJulia")
- it will break after whilePkg.rm("IJulia")
Pkg.add("IJulia")
Voila! Now I want to figure out whether I can put this on FreeBSD, behind a public server.
Most of the issues were related to my environment being non-English and hence the HOME and APPDATA environment variables were screwing some Python code - they expect ASCII chars on the paths.
Upvotes: 1