本文介绍了IJulia安装-警告:模块BinDeps uuid与缓存文件不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行Pkg.update()后,我遇到以下有关IJulia安装的错误消息:

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?

推荐答案

我已经为安装IJulia奋战了几个小时,而到达这里是我的第一个起点.现在,经过这一繁琐的过程之后,我认为此信息可能对下一代有用:

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(非英语)...
  • 在某些本地文件夹上安装了Julia 0.4.2:<julia>
  • 制成的文件夹<julia>\env
    • 制成的文件夹<julia>\env\home又称<home>
    • 制成的文件夹<julia>\env\appdata又称<appdata>
    • 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>
      • Pkg.add("IJulia")-片刻后会中断
      • Pkg.rm("IJulia")
      • Pkg.add("IJulia")
      • Pkg.add("IJulia") - it will break after while
      • Pkg.rm("IJulia")
      • Pkg.add("IJulia")

      Voila!现在,我想弄清楚是否可以将其放在公共服务器后面的FreeBSD上.

      Voila! Now I want to figure out whether I can put this on FreeBSD, behind a public server.

      大多数问题与我的环境不是英语有关,因此HOME和APPDATA环境变量正在拧入一些Python代码-他们期望路径上的ASCII字符.

      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.

      这篇关于IJulia安装-警告:模块BinDeps uuid与缓存文件不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-09 03:35