添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I’m trying to install Pkg.add(“DataFrames”) but I get the following message. Any idea what could be the problem?

INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established
Stacktrace:
[1] macro expansion at .\libgit2\error.jl:99 [inlined]
[2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at .\libgit2\repository.jl:276
[3] #clone #100(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::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

Thank you for your response. I tried ping and it seems that I have connection with gitbub.com
I tried again Pkg.add(“DataFrames”) and I got the same error message.

Finally got a fix. The Easy fix on this page didn’t cut it. Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows The quick-fix didn’t patch the Webio.dll and the Winhttp.dll in the Windows-folders. So I went to the update-catalog and downloaded the proper file for my system: Microsoft Update Catalog Patched,restarted, works.

I’m reviving this post.
I’m on windows 8 and the proposed solutions do not work for me.

In the list given at https://www.catalog.update.microsoft.com/search.aspx?q=kb3140245 , none of the updates seem to apply to windows 8. I updated to .Net 4.5, but to no avail.
I would really appreciate some help.
Many thanks in advance
Olivier

I would try either this:

Update für Windows Embedded 8 Standard für x64-Systeme (KB3140245)

or this:

Update für Windows Embedded 8 Standard (KB3140245)

depending on your system (32/64 Bit Version).
The quick fix didn’t work for my systems, hence the workaround for a manual patch. I don’t know what the patches do in particular, but the registry hacks in the kb-article didn’t succeed either:

Thanks for your reply.

Unfortunately KB3140245 does not work.

I don’t see any other options.
I will contact my system administrator.