系统版本是win11,julia是最新的1.8.5,装好julia准备用jupyter的时候报错了
Julia> IJulia.notebook()
install Jupyter via Conda, y/n? [y]: y
[ Info: Downloading miniconda installer ...
ERROR: HTTP/1.1 200 OK (Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds) while requesting https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe
Stacktrace:
[1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:387
[2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Curl\Curl.jl:88
[3] #8
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:328 [inlined]
[4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, arg::IOStream)
@ ArgTools E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\ArgTools\src\ArgTools.jl:134
[5] #7
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:327 [inlined]
[6] arg_read
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\ArgTools\src\ArgTools.jl:76 [inlined]
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, debug::Nothing, throw::Bool, downloader::Nothing)
@ Downloads E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:326
[8] #3
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:231 [inlined]
[9] open(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Nothing, String}, args::String; kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol, Symbol}, NamedTuple{(:write, :lock), Tuple{Bool, Bool}}})
@ Base .\io.jl:384
[10] #open_nolock#1
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\ArgTools\src\ArgTools.jl:35 [inlined]
[11] arg_write(f::Function, arg::String)
@ ArgTools E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\ArgTools\src\ArgTools.jl:103
[12] #download#2
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:230 [inlined]
[13] download
@ E:\julia\Julia-1.8.5\share\julia\stdlib\v1.8\Downloads\src\Downloads.jl:219 [inlined]
[14] _install_conda(env::String, force::Bool)
@ Conda C:\Users\徐志刚\.julia\packages\Conda\x2UxR\src\Conda.jl:201
[15] _install_conda(env::String)
@ Conda C:\Users\徐志刚\.julia\packages\Conda\x2UxR\src\Conda.jl:191
[16] runconda(args::Cmd, env::String)
@ Conda C:\Users\徐志刚\.julia\packages\Conda\x2UxR\src\Conda.jl:126
[17] add(pkg::String, env::String; channel::String)
@ Conda C:\Users\徐志刚\.julia\packages\Conda\x2UxR\src\Conda.jl:222
[18] add (repeats 2 times)
@ C:\Users\徐志刚\.julia\packages\Conda\x2UxR\src\Conda.jl:220 [inlined]
[19] find_jupyter_subcommand(subcommand::String)
@ IJulia C:\Users\徐志刚\.julia\packages\IJulia\6TIq1\src\jupyter.jl:23
[20] notebook(; dir::String, detached::Bool)
@ IJulia C:\Users\徐志刚\.julia\packages\IJulia\6TIq1\src\jupyter.jl:96
[21] notebook()
@ IJulia C:\Users\徐志刚\.julia\packages\IJulia\6TIq1\src\jupyter.jl:94
[22] top-level scope
@ REPL[11]:1
此前先运行了
using PkgServerClient
julia> PkgServerClient.registry_response_time()
Dict{String, Float64} with 9 entries:
"BFSU" => 0.0400064
"OpenTUNA" => 0.039856
"ISCAS" => 0.0485369
"SJTUG" => 0.039955
"SUSTech" => 0.0400637
"TUNA" => 0.245653
"USTC" => 0.126907
"JuliaLang" => Inf
"NJU" => 0.214915
julia> PkgServerClient.set_mirror("SJTUG")
切换了镜像服务。。
这个问题好像是因为github访问速度太慢造成的?但是我用了steam++和edge浏览器自带的github加速插件好像都没有起到作用