服务器上包安装

服务器限制大小,按网上的提示,修改到了别的文件夹。
但是安装 NetCDF 的时候失败了。别的包可以。
(下面的代码是 tmux 里复制的,有点丑,大家见谅)

julia> DEPOT_PATH                                                                                               │
1-element Array{String,1}:                                                                                      │
 "./project/.julia" 

(v1.3) pkg> add NetCDF                                                                                          │
   Cloning default registries into `./project/.julia`                                                           │
   Cloning registry from "https://github.com/JuliaRegistries/General.git"                                       │
     Added registry `General` to `./project/.julia/registries/General`                                          │
 Resolving package versions...                                                                                  │
 Installed URIParser ────── v0.4.0                                                                              │
 Installed VersionParsing ─ v1.1.3                                                                              │
 Installed Compat ───────── v2.2.0                                                                              │
 Installed BinDeps ──────── v0.8.10                                                                             │
 Installed NetCDF ───────── v0.8.1                                                                              │
 Installed Conda ────────── v1.3.0                                                                              │
 Installed Parsers ──────── v0.3.8                                                                              │
 Installed JSON ─────────── v0.21.0                                                                             │
 Installed CondaBinDeps ─── v0.1.0                                                                              │
 Installed Formatting ───── v0.4.1                                                                              │
  Updating `/project/zhoumao/.julia/environments/v1.3/Project.toml`                                             │
  [30363a11] + NetCDF v0.8.1                                                                                    │
  Updating `/project/zhoumao/.julia/environments/v1.3/Manifest.toml`                                            │
  [9e28174c] + BinDeps v0.8.10                                                                                  │
  [34da2185] + Compat v2.2.0                                                                                    │
  [8f4d0f93] + Conda v1.3.0                                                                                     │
  [a9693cdc] + CondaBinDeps v0.1.0                                                                              │
  [59287772] + Formatting v0.4.1                                                                                │
  [682c06a0] + JSON v0.21.0                                                                                     │
  [30363a11] + NetCDF v0.8.1                                                                                    │
  [69de0a69] + Parsers v0.3.8                                                                                   │
  [30578b45] + URIParser v0.4.0                                                                                 │
  [81def892] + VersionParsing v1.1.3                                                                            │
  [2a0f44e3] + Base64                                                                                           │
  [ade2ca70] + Dates                                                                                            │
  [8bb1440f] + DelimitedFiles                                                                                   │
  [8ba89e20] + Distributed                                                                                      │
  [b77e0a4c] + InteractiveUtils                                                                                 │
  [76f85450] + LibGit2                                                                                          │
  [8f399da3] + Libdl                                                                                            │
  [37e2e46d] + LinearAlgebra                                                                                    │
  [56ddb016] + Logging                                                                                          │
  [d6f4376e] + Markdown                                                                                         │
  [a63ad114] + Mmap                                                                                             │
  [44cfe95a] + Pkg                                                                                              │
  [de0858da] + Printf                                                                                           │
  [3fa0cd96] + REPL                                                                                             │
  [9a3f8284] + Random                                                                                           │
  [ea8e919c] + SHA                                                                                              │
  [9e88b42a] + Serialization                                                                                    │
  [1a1011a3] + SharedArrays                                                                                     │
  [6462fe0b] + Sockets                                                                                          │
  [2f01184e] + SparseArrays    
  [6462fe0b] + Sockets                                                                                   
  [2f01184e] + SparseArrays                                                                                     │
  [10745b16] + Statistics                                                                                       │
  [8dfed614] + Test                                                                                             │
  [cf7118a7] + UUIDs                                                                                            │
  [4ec0a83e] + Unicode                                                                                          │
  Building Conda ─→ `~/project/.julia/packages/Conda/kLXeC/deps/build.log`                                      │
  Building NetCDF → `~/project/.julia/packages/NetCDF/rrzYy/deps/build.log`                                     │
┌ Error: Error building `NetCDF`:                                                                               │
│ [ Info: Downloading miniconda installer ...                                                                   │
│ ┌ Error: Download failed: curl: (56) SSL received a record with an incorrect Message Authentication Code.     │
│ └ @ Base download.jl:43                                                                                       │
│ ERROR: LoadError: failed process: Process(`curl -s -S -g -L -f -o /home/zhoumao/project/.julia/conda/3/install│
er.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh`, ProcessExited(56)) [56]           │
│                                                                                                               │
│ Stacktrace:                                                                                                   │
│  [1] pipeline_error at ./process.jl:525 [inlined]                                                             │
│  [2] download_curl(::String, ::String, ::String) at ./download.jl:44                                          │
│  [3] download(::String, ::String) at ./download.jl:62                                                         │
│  [4] _install_conda(::Symbol, ::Bool) at /home/zhoumao/project/.julia/packages/Conda/kLXeC/src/Conda.jl:160   │
│  [5] _install_conda at /home/zhoumao/project/.julia/packages/Conda/kLXeC/src/Conda.jl:152 [inlined]           │
│  [6] parseconda(::Cmd, ::Symbol) at /home/zhoumao/project/.julia/packages/Conda/kLXeC/src/Conda.jl:119        │
│  [7] search(::String, ::Symbol) at /home/zhoumao/project/.julia/packages/Conda/kLXeC/src/Conda.jl:257         │
│  [8] exists(::String, ::Symbol) at /home/zhoumao/project/.julia/packages/Conda/kLXeC/src/Conda.jl:281         │
│  [9] package_available at /home/zhoumao/project/.julia/packages/CondaBinDeps/gR9KR/src/bindeps_conda.jl:19 [in│
lined]                                                                                                          │
│  [10] can_provide(::CondaBinDeps.EnvManager{Symbol("/home/zhoumao/project/.julia/conda/3")}, ::Dict{Symbol,Any│
}, ::BinDeps.LibraryDependency) at /home/zhoumao/project/.julia/packages/BinDeps/ZEval/src/dependencies.jl:792  │
│  [11] #_find_library#42(::Type, ::typeof(BinDeps._find_library), ::BinDeps.LibraryDependency) at /home/zhoumao│
/project/.julia/packages/BinDeps/ZEval/src/dependencies.jl:649                                                  │
│  [12] _find_library at /home/zhoumao/project/.julia/packages/BinDeps/ZEval/src/dependencies.jl:643 [inlined]  │
│  [13] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /home/zhoumao/project/.julia/packages/BinD│
eps/ZEval/src/dependencies.jl:922 (repeats 2 times)                                                             │
│  [14] top-level scope at /home/zhoumao/project/.julia/packages/BinDeps/ZEval/src/dependencies.jl:977          │
│  [15] include at ./boot.jl:328 [inlined]                                                                      │
│  [16] include_relative(::Module, ::String) at ./loading.jl:1105                                               │
│  [17] include(::Module, ::String) at ./Base.jl:31                                                             │
│  [18] include(::String) at ./client.jl:432                                                                    │
│  [19] top-level scope at none:5                                                                               │
│ in expression starting at /home/zhoumao/project/.julia/packages/NetCDF/rrzYy/deps/build.jl:15                 │
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/backwards_compa│
tible_isolation.jl:649

linux
julia v1.3

我看着是安装 miniconda 失败了,为什么 julia 会安装 miniconda 呢?怎么解决

有依赖是用的Python的包吧

我之前在 PC 上和另一个服务器都安装过,都没有问题,但是julia 版本是 1.2。这里是 1.3

还是网的问题。网好的时候,可以安装成功。