当我尝试在Julia中安装任何软件包时,我一直收到此错误:
julia> Pkg.add("Dates")
INFO: Initializing package repository C:\Users\Ezz\.julia\v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ECERTIFICATE, Class:OS, user cancelled certificate check: )
Stacktrace:
[1] macro expansion at .\libgit2\error.jl:99 [inlined]
[2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at .\libgit2\reposit
ory.jl:276
[3] #clone#100(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractC
redentials}, ::Function, ::String, ::String) at .\libgit2\libgit2.jl:562
[4] (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String
, ::String) at .\<missing>:0
[5] (::Base.Pkg.Dir.##8#10{String,String})() at .\pkg\dir.jl:55
[6] cd(::Base.Pkg.Dir.##8#10{String,String}, ::String) at .\file.jl:59
[7] init(::String, ::String) at .\pkg\dir.jl:53
[8] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{String,N}
where N) at .\pkg\dir.jl:28
[9] add(::String) at .\pkg\pkg.jl:117
我在Google上搜索后发现未安装TLS协议,可以通过安装简单修补程序来完成此操作,但此方法无效。我可能理解错了,所以请任何人可以帮助我吗?
我正在使用Windows 7(64位)。