fhs / NPZ.jl

A Julia package that provides support for reading and writing Numpy .npy and .npz files
Other
117 stars 16 forks source link

Error while downloading #37

Open hect1995 opened 4 years ago

hect1995 commented 4 years ago
julia> Pkg.add("NPZ")
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
   Cloning [15e1cf62-19b3-5cfa-8e77-841668bca605] NPZ from https://github.com/fhs/NPZ.jl.git
[ Info: Installed NPZ ───────────────── v0.4.0
   Cloning [731186ca-8d62-57ce-b412-fbd966d074cd] RecursiveArrayTools from https://github.com/JuliaDiffEq/RecursiveArrayTools.jl.git
[ Info: Installed RecursiveArrayTools ─ v2.1.0
   Cloning [79e6a3ab-5dfb-504d-930d-738a2a938a0e] Adapt from https://github.com/JuliaGPU/Adapt.jl.git
[ Info: Installed Adapt ─────────────── v1.0.1
   Cloning [8f4d0f93-b110-5947-807f-2305c1781a2d] Conda from https://github.com/JuliaPy/Conda.jl.git
[ Info: Installed Conda ─────────────── v1.4.1
   Cloning [a5390f91-8eb1-5f08-bee0-b1d1ffed6cea] ZipFile from https://github.com/fhs/ZipFile.jl.git
[ Info: Installed ZipFile ───────────── v0.8.4
   Cloning [2b5f629d-d688-5b77-993f-72d75c75574e] DiffEqBase from https://github.com/JuliaDiffEq/DiffEqBase.jl.git
[ Info: Installed DiffEqBase ────────── v6.14.1
   Cloning [bcd4f6db-9728-5f36-b5f7-82caef46ccdb] DelayDiffEq from https://github.com/JuliaDiffEq/DelayDiffEq.jl.git
[ Info: Installed DelayDiffEq ───────── v5.21.0
  Updating `~/.julia/environments/v1.0/Project.toml`
  [15e1cf62] + NPZ v0.4.0
  Updating `~/.julia/environments/v1.0/Manifest.toml`
  [79e6a3ab] ↑ Adapt v1.0.0 ⇒ v1.0.1
  [8f4d0f93] ↑ Conda v1.3.0 ⇒ v1.4.1
  [bcd4f6db] ↑ DelayDiffEq v5.20.0 ⇒ v5.21.0
  [2b5f629d] ↑ DiffEqBase v6.13.3 ⇒ v6.14.1
  [15e1cf62] + NPZ v0.4.0
  [731186ca] ↑ RecursiveArrayTools v2.0.5 ⇒ v2.1.0
  [a5390f91] + ZipFile v0.8.4
  Building Conda ──→ `~/.julia/packages/Conda/3rPhK/deps/build.log`
  Building ZipFile → `~/.julia/packages/ZipFile/DW0Qr/deps/build.log`
┌ Error: Error building `ZipFile`: 
│ [ Info: Downloading https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-linux-gnu.tar.gz to /home/developer/.julia/packages/ZipFile/DW0Qr/deps/usr/downloads/Zlib.v1.2.11.x86_64-linux-gnu.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-linux-gnu.tar.gz to /home/developer/.julia/packages/ZipFile/DW0Qr/deps/usr/downloads/Zlib.v1.2.11.x86_64-linux-gnu.tar.gz:
│ ErrorException("")
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #download#89(::Bool, ::Function, ::String, ::String) at /home/developer/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:502
│  [3] #download at ./none:0 [inlined]
│  [4] #download_verify#90(::Bool, ::Bool, ::Bool, ::Function, ::String, ::String, ::String) at /home/developer/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:571
│  [5] #download_verify at ./none:0 [inlined]
│  [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at /home/developer/.julia/packages/BinaryProvider/kcGxO/src/Prefix.jl:314
│  [7] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./none:0
│  [8] top-level scope at /home/developer/.julia/packages/ZipFile/DW0Qr/deps/build.jl:44
│  [9] include at ./boot.jl:317 [inlined]
│  [10] include_relative(::Module, ::String) at ./loading.jl:1044
│  [11] include(::Module, ::String) at ./sysimg.jl:29
│  [12] include(::String) at ./client.jl:392
│  [13] top-level scope at none:0
│ in expression starting at /home/developer/.julia/packages/ZipFile/DW0Qr/deps/build.jl:42
│ [10:46:14] curl: /home/developer/julia-1.0.5/bin/../lib/julia/libcurl.so.4: no version information available (required by curl)
│ [10:46:14] 
│ [10:46:14] curl: (77) Error reading ca cert file /etc/pki/tls/certs/ca-bundle.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096

julia> using NPZ
[ Info: Precompiling NPZ [15e1cf62-19b3-5cfa-8e77-841668bca605]
ERROR: LoadError: LoadError: could not open file /home/developer/.julia/packages/ZipFile/DW0Qr/deps/deps.jl
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1044
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/developer/.julia/packages/ZipFile/DW0Qr/src/Zlib.jl:26
 [5] top-level scope at none:0
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1044
 [8] include at ./sysimg.jl:29 [inlined]
 [9] include(::String) at /home/developer/.julia/packages/ZipFile/DW0Qr/src/ZipFile.jl:36
 [10] top-level scope at none:0
 [11] include at ./boot.jl:317 [inlined]
 [12] include_relative(::Module, ::String) at ./loading.jl:1044
 [13] include(::Module, ::String) at ./sysimg.jl:29
 [14] top-level scope at none:2
 [15] eval at ./boot.jl:319 [inlined]
 [16] eval(::Expr) at ./client.jl:393
 [17] top-level scope at ./none:3
in expression starting at /home/developer/.julia/packages/ZipFile/DW0Qr/src/Zlib.jl:50
in expression starting at /home/developer/.julia/packages/ZipFile/DW0Qr/src/ZipFile.jl:43
ERROR: LoadError: Failed to precompile ZipFile [a5390f91-8eb1-5f08-bee0-b1d1ffed6cea] to /home/developer/.julia/compiled/v1.0/ZipFile/cOum2.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1044
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:393
 [12] top-level scope at ./none:3
in expression starting at /home/developer/.julia/packages/NPZ/OBINJ/src/NPZ.jl:7
ERROR: Failed to precompile NPZ [15e1cf62-19b3-5cfa-8e77-841668bca605] to /home/developer/.julia/compiled/v1.0/NPZ/TV7Kn.ji.
Stacktrace:
 [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [2] _require(::Base.PkgId) at ./loading.jl:960
 [3] require(::Base.PkgId) at ./loading.jl:858
 [4] require(::Module, ::Symbol) at ./loading.jl:853

My JUlia version is

julia> VERSION
v"1.0.5"