无法在Julia中安装软件包

时间:2018-08-08 21:03:04

标签: installation julia ijulia-notebook

我正在尝试在Julia中安装IJulia软件包以便使用Jupyter笔记本,但出现以下错误。我不知道这意味着什么以及如何解决它。我试图用Google搜索它,但是找不到解决方案。请帮助。

    [julia> Pkg.add("IJulia")
    INFO: Initializing package repository /Users/GG/.julia/v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: ArgumentError: '/Users/GG/.julia/v0.6/REQUIRE' exists. `remove_destination=true` is required to remove '/Users/GG/.julia/v0.6/REQUIRE' before moving.
Stacktrace:
 [1] #checkfor_mv_cp_cptree#8(::Bool, ::Function, ::String, ::String, ::String) at ./file.jl:185
 [2] (::Base.Filesystem.#kw##checkfor_mv_cp_cptree)(::Array{Any,1}, ::Base.Filesystem.#checkfor_mv_cp_cptree, ::String, ::String, ::String) at ./<missing>:0
 [3] #mv#11 at ./file.jl:238 [inlined]
 [4] mv at ./file.jl:238 [inlined]
 [5] init(::String, ::String) at ./pkg/dir.jl:64
 [6] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{String,N} where N) at ./pkg/dir.jl:28
 [7] add(::String) at ./pkg/pkg.jl:117

0 个答案:

没有答案