【问题标题】:Error Building TensorFlow in Julia,在 Julia 中构建 TensorFlow 时出错,
【发布时间】:2018-08-26 09:40:46
【问题描述】:
 Error: Error building `TensorFlow`: 
│ ERROR: LoadError: UndefVarError: is_windows not defined
│ Stacktrace:
│  [1] top-level scope at none:0
│  [2] include at ./boot.jl:317 [inlined]
│  [3] include_relative(::Module, ::String) at ./loading.jl:1038
│  [4] include(::Module, ::String) at ./sysimg.jl:29
│  [5] include(::String) at ./client.jl:388
│  [6] top-level scope at none:0
│ in expression starting at 
/home/amery/.julia/packages/TensorFlow/TizFt/deps/build.jl:13
└ @ Pkg.Operations 

/buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

当我在 Julia 中构建 Mocha 时,我得到了 is_apple 未定义,有人告诉我这是因为我没有安装某些模块,但是是哪个模块?

【问题讨论】:

    标签: tensorflow julia


    【解决方案1】:

    UndefVarError: is_windows not defined 实际上意味着该模块尚未从 Julia 0.6 更新到 Julia 1.0。 从今天开始,我可以建议您尝试 Julia 0.7(您会看到一些弃用警告,但否则它应该可以工作)并等待几周,然后再安装 Julia 1.0 以与 TensorFlow.jl 一起使用。

    看看这个帖子你会发现它应该很快: https://github.com/malmaud/TensorFlow.jl/pull/419

    【讨论】:

      【解决方案2】:

      这表明软件包尚未针对 v1.0 进行更新。您要么需要帮助他们更新代码,要么等待。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-08-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多