从头开始安装 JuliaPro_v0.6.0.1_build-78.exe 后,我尝试通过 Pkg.update() 更新软件包,我收到以下错误消息:
fixed packages introduce conflicting requirements for BinDeps:
available versions are 0.0.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4,
0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14,
0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.7, 0.5.0 and 0.6.0
in update at base\pkg\pkg.jl:228
in #cd#1 at base\pkg\dir.jl:32
in withenv at base\env.jl:157
in cd at base\file.jl:59
in #3 at base\pkg\dir.jl:33
in update at base\pkg\entry.jl:461
in resolve at base\pkg\entry.jl:496
in check_requirements at base\pkg\query.jl:222
尝试添加另一个 Pkg 会导致出现相同的错误消息。因此,如果不解决这个问题,就不可能添加更多的包。
如有任何解决此问题的建议,我们将不胜感激。
最佳答案
这只是为我修复了它:
Pkg.rm("BinDeps")
效果是将 BinDeps
从 0.7.0
降级到 0.6.0
。
出于好奇,我后来做了 Pkg.update()
,这使 BinDeps
回到了 0.7.0
,但似乎以前的冲突现在消失了。
我认为问题可能是版本 0.7.0
已安装但未注册为可用。
关于julia - 固定包引入了 BinDeps : 的冲突要求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45616518/