安装GLPK出现的问题

在提问之前请确定你已经努力阅读了文档,并且尝试自己在互联网上搜索。

请尽可能提供你的demo代码或者GitHub的gist地址。

# code

Building GLPK → C:\Users\梦里乾坤游太虚\.juliapro\JuliaPro_v1.0.5-2\packages\GLPK\XEiWU\deps\build.log
┌ Error: Error building GLPK:
│ ERROR: LoadError: LoadError: IOError(Base.IOError(“connect: connection timed out (ETIMEDOUT)”, -4039) durinoad/GMP-v6.1.2+5/GMP.v6.1.2.x86_64-w64-mingw32-cxx11.tar.gz))

│ Stacktrace:
│ [1] try_yieldto(::typeof(Base.ensure_rescheduled), ::Base.RefValue{Task}) at .\event.jl:196
│ [2] wait() at .\event.jl:255
│ [3] wait(::Condition) at .\event.jl:46
│ [4] stream_wait(::Sockets.TCPSocket, ::Condition) at .\stream.jl:47
│ [5] wait_connected(::Sockets.TCPSocket) at .\stream.jl:259
│ [6] connect at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\Sockets\src\Sockets.jl:444
│ [7] connect(::Sockets.IPv4, ::UInt64) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0
│ [8] #getconnection#14(::Bool, ::Int64, ::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol},NamedTuple{(dler, Symbol(“##1#3”)){String}}}}, ::Function, ::Type{Sockets.TCPSocket}, ::SubString{String}, ::String) at ConnectionPool.jl:566
│ [9] #getconnection#11(::Int64, ::Int64, ::Int64, ::Int64, ::Bool, ::Base.Iterators.Pairs{Symbol,getfield(Cunction,),Tuple{getfield(CredentialsHandler, Symbol(“##1#3”)){String}}}}, ::Function, ::Type{HTTP.ConnectionPing}) at .\none:0
│ [10] (::getfield(HTTP.ConnectionPool, Symbol(“#kw##getconnection”)))(::NamedTuple{(:reuse_limit, :iofuncti:typeof(HTTP.ConnectionPool.getconnection), ::Type{HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}}, ::Su
│ [11] #request#1(::Nothing, ::Type, ::Int64, ::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symld(CredentialsHandler, Symbol(“##1#3”)){String}}}}, ::Function, ::Type{HTTP.ConnectionRequest.ConnectionPoolLquest, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\ConnectionRequ
│ [12] (::getfield(HTTP, Symbol(“#kw##request”)))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandtionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}, ::HT
│ [13] (::getfield(Base, Symbol(“###44#45#46”)){ExponentialBackOff,getfield(HTTP.RetryRequest, Symbol(“##2#3irs{Symbol,getfield(CredentialsHandler, Symbol(”##1#3")){String},Tuple{Symbol},NamedTuple{(:iofunction,),TuplType, ::Vararg{Any,N} where N) at .\error.jl:216
│ [14] ##44#47 at .\none:0 [inlined]
│ [15] #request#1 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\RetryRequest.
│ [16] (::getfield(HTTP, Symbol(“#kw##request”)))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.Streaing) at .\none:0
│ [17] #request#1(::VersionNumber, ::String, ::Nothing, ::Function, ::Base.Iterators.Pairs{Union{},Union{},TsageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.Connection
::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.0.5
│ [18] (::getfield(HTTP, Symbol(“#kw##request”)))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandgeRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequeTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Nothing) at .\none:0
│ [19] #request#1(::Int64, ::Bool, ::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol(“##1#3"alsHandler, Symbol(”##1#3")){String}}}}, ::Function, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageReptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP. at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\RedirectRequest.jl:24
│ [20] (::getfield(HTTP, Symbol(“#kw##request”)))(::NamedTuple{(:iofunction,),Tuple{getfield(CredentialsHandectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.st.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::Noth
│ [21] #request#5(::Base.Iterators.Pairs{Symbol,getfield(CredentialsHandler, Symbol(“##1#3”)){String},Tuple{l(“##1#3”)){String}}}}, ::Function, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{Strin\stdlib\v1.0\HTTP\src\HTTP.jl:300
│ [22] #request at .\none:0 [inlined]
│ [23] #request#6 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:314 [
│ [24] #request at .\none:0 [inlined]
│ [25] #open#7 at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:339 [inl
│ [26] open at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\HTTP\src\HTTP.jl:339 [inline
│ [27] download(::String, ::String, ::CredentialsHandler.Token) at C:\Users\julia\AppData\Local\Julia-1.0.5
│ [28] download(::String, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\Cred
│ [29] (::getfield(BinaryProvider.JuliaTeam, Symbol(“##1#2”)){getfield(BinaryProvider, Symbol(“##56#85”)){geg) at C:\Users\julia\AppData\Local\Julia-1.0.5\share\julia\stdlib\v1.0\BinaryProvider\src\JuliaTeam.jl:18
│ [30] #download#106(::Bool, ::Function, ::String, ::String) at C:\Users\julia\AppData\Local\Julia-1.0.5\sha
│ [31] #download at .\none:0 [inlined]
│ [32] #download_verify#107(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at C:\Users\julatformEngines.jl:692
│ [33] #download_verify at .\none:0 [inlined]
│ [34] #install#147(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at C:\Users\Prefix.jl:314
│ [35] (::getfield(BinaryProvider, Symbol(“#kw##install”)))(::NamedTuple{(:prefix, :force, :verbose),Tuple{P
│ [36] top-level scope at C:\Users\梦里乾坤游太虚.juliapro\JuliaPro_v1.0.5-2\packages\GLPK\XEiWU\deps\build
│ [37] include at .\boot.jl:317 [inlined]
│ [38] include_relative(::Module, ::String) at .\loading.jl:1044
│ [39] include at .\sysimg.jl:29 [inlined]
│ [40] include(::String) at .\loading.jl:1079
│ [45] include at .\boot.jl:317 [inlined]
│ [46] include_relative(::Module, ::String) at .\loading.jl:1044
│ [47] include(::Module, ::String) at .\sysimg.jl:29
│ [48] include(::String) at .\client.jl:392
│ [49] top-level scope at none:0
│ in expression starting at C:\Users\梦里乾坤游太虚.juliapro\JuliaPro_v1.0.5-2\packages\GLPK\XEiWU\deps\build_GMP.v6.1.2.jl:56
│ in expression starting at C:\Users\梦里乾坤游太虚.juliapro\JuliaPro_v1.0.5-2\packages\GLPK\XEiWU\deps\build.jl:54

网络问题,建议重试,或者使用代理

谢谢啦 已经安好了