-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
I wish to use the package directory of one of my collaborators. I copied her .julia folder into my machine and followed the steps mentioned here: https://stackoverflow.com/questions/36398629/change-package-directory-in-julia.
Pkg.resolve() gave the following error :
ERROR: stat: permission denied (EACCES)
Stacktrace:
[1] stat(::String) at ./stat.jl:69
[2] isdir at ./stat.jl:279 [inlined]
[3] installed_version(::String, ::Base.LibGit2.GitRepo, ::Dict{VersionNumber,Base.Pkg.Types.Available}) at ./pkg/read.jl:141
[4] #7 at ./pkg/read.jl:212 [inlined]
[5] with(::Base.Pkg.Read.##7#8{Dict{String,Tuple{VersionNumber,Bool}}}, ::Base.LibGit2.GitRepo) at ./libgit2/types.jl:608
[6] installed(::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/read.jl:211
[7] resolve at ./pkg/entry.jl:479 [inlined] (repeats 3 times)
[8] (::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{}})() at ./pkg/dir.jl:33
[9] cd(::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{}}, ::String) at ./file.jl:70
[10] withenv(::Base.Pkg.Dir.##2#5{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{},String}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:157
[11] #cd#1(::Array{Any,1}, ::Function, ::Function) at ./pkg/dir.jl:32
[12] resolve() at ./pkg/pkg.jl:238
How do I fix this?
Thanks in advance!
P.S. I am running this on an institute cluster, in case that changes things.