When I try to add POMDPSimulators
I met the following error:
julia> import Pkg
julia> Pkg.add("POMDPSimulators")
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Downloading artifact: OpenBLAS
######################################################################## 100.0%- 0.6%
ERROR: Unable to automatically install 'OpenBLAS' from '/home/jkwwwwow/.julia/packages/OpenBLAS_jll/rnsmb/Artifacts.toml'
And I have searched for some solutions in here but it doesn’t work, therefore I want to install it manually. I can download it from Releases · JuliaBinaryWrappers/OpenSpecFun_jll.jl · GitHub , but I don’t know where I should unzip this package.
Any idea would be appreciated!
@staticfloat
Maybe you have some idea
What version of Julia are you running? Can you run through the checklist listed here and post the output:
https://github.com/giordano/DebugArtifacts.jl/
You would run debug_artifact("OpenBLAS")
to see what happens
Hi, I received this message by running debug_artifact("OpenBLAS")
:
julia> debug_artifact("OpenBLAS")
[ Info: Platform: Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11))
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
[ Info: Downloading Artifacts.toml to /tmp/jl_wQczg2/Artifacts.toml...
#=#=#
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
ERROR: Could not download https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml to /tmp/jl_wQczg2/Artifacts.toml:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_wQczg2/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7))])
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:853
[3] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[4] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[6] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[7] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[8] top-level scope at REPL[5]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_wQczg2/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7)) [7]
Stacktrace:
[1] pipeline_error at ./process.jl:525 [inlined]
[2] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}; wait::Bool) at ./process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
[4] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:848
[5] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[6] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[7] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[8] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[9] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[10] top-level scope at REPL[5]:1
What should I do next?
I just realised this thread is a cross-post with another thread, where I suggested to use PkgServer:
Is GitHub blocked for you?
Since you use Julia v1.4, you can try using PkgServer. Set the following environment variable
export JULIA_PKG_SERVER=https://geo.pkg.julialang.org
in your shell and restart Julia. If this works, add this setting in the init file of your shell to make it persistent
1 Like