I’ve only used Julia on my own laptop until now. To have more power (and access to GPUs) I just got an account on Microsoft Azure, whose Data Science Virtual Machine includes JuliaPro.
But I don’t see how to add packages; even Pkg.update()
gives errors. Perhaps this is not possible?
If so, is there a recommended way to proceed? Should I be trying to figure out docker containers?
Error messages:
julia> Pkg.add("Revise")
ERROR: SystemError (with /data/JuliaPro-0.6.0.1/JuliaPro/pkgs-0.6.0.1/.cache): mkdir: Permission denied
#systemerror#44 at ./error.jl:64 [inlined]
(::Base.#kw##systemerror)(::Array{Any,1}, ::Base.#systemerror, ::Symbol, ::Bool) at ./<missing>:0
mkdir(::String, ::UInt16) at ./file.jl:99
mkcachedir() at ./pkg/cache.jl:25
…
julia> versioninfo()
Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
julia> Pkg.update()
INFO: Updating METADATA...
ERROR: METADATA cannot be updated. Resolve problems manually in /data/JuliaPro-0.6.0.1/JuliaPro/pkgs-0.6.0.1/v0.6/METADATA.
GitError(Code:ERROR, Class:OS, Failed to create temporary file '/data/JuliaPro-0.6.0.1/JuliaPro/pkgs-0.6.0.1/v0.6/METADATA/.git/objects/pack/pack_git2_q4ZB89': Permission denied)
macro expansion at ./libgit2/error.jl:99 [inlined]
#fetch#41(::Base.LibGit2.FetchOptions, ::String, ::Function, ::Base.LibGit2.GitRemote, ::Array{AbstractString,1}) at ./libgit2/remote.jl:226