Ohm
Ohm

Reputation: 2442

IJulia install - WARNING: Module BinDeps uuid did not match cache file

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

Answers (1)

Rado
Rado

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:

  • Windows 10, non-English ...
  • Installed Julia 0.4.2 on some local folder: <julia>
  • Made folder <julia>\env
    • Made folder <julia>\env\home a.k.a. <home>
    • Made folder <julia>\env\appdata a.k.a. <appdata>
  • Invoke 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.
  • When inside Julia's command line interpreter:
    • Pkg.add("IJulia") - it will break after while
    • Pkg.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

Related Questions