在Windows上使用Julia 1.6.0 RC1时,GR_jll始终无法预编译

在Windows上使用Julia 1.6.0 RC1时,GR_jll始终无法预编译,julia,Julia,我使用Julia 1.6.0 RC1,所有软件包都工作得很好,除了一直无法预编译的GR_jll。 在结果中,Plots.jl不会被预编译,因为它有GR作为依赖项 我在安装软件包时看到的消息是: 5 dependencies successfully precompiled in 40 seconds (201 already precompiled, 1 skipped during auto due to previous er rors) 另一方面,在尝试强制预编译时,我看到: julia

我使用Julia 1.6.0 RC1,所有软件包都工作得很好,除了一直无法预编译的
GR_jll
。 在结果中,
Plots.jl
不会被预编译,因为它有GR作为依赖项

我在安装软件包时看到的消息是:

5 dependencies successfully precompiled in 40 seconds (201 already precompiled, 1 skipped during auto due to previous er
rors)
另一方面,在尝试强制预编译时,我看到:

julia> Pkg.precompile()
Precompiling project...
  Progress [========================================>]  1/1
  ✗ GR_jll
0 dependencies successfully precompiled in 5 seconds (201 already precompiled)

这是非常恼人的,我的模块仍然未编译。我应该怎么做才能修复这种情况?

从今天起,
GR_jll
似乎是唯一需要Windows管理权限才能安装的模块

  • 以管理员身份运行控制台

  • 启动Julia并运行以下脚本:

    using Pkg
    Pkg.build("GR_jll")
    Pkg.precompile()
    
  • 我见过其他人声称由于以前的错误而在自动过程中跳过了与我相同的问题,所以希望这对其他Windows用户有所帮助