ERROR: LoadError: IOError: stat: permission denied (EACCES)


#1
using DataFrames
println("hello")

返回结果:

[Running] julia "e:\my project\julia练习\tempCodeRunnerFile.jl"
ERROR: LoadError: IOError: stat: permission denied (EACCES)
Stacktrace:
 [1] stat(::String) at .\stat.jl:68
 [2] isfile at .\stat.jl:303 [inlined]
 [3] isfile_casesensitive(::String) at .\loading.jl:13
 [4] entry_path(::String, ::String) at .\loading.jl:422
 [5] (::getfield(Base, Symbol("##657#658")){String,Base.PkgId})(::IOStream) at .\loading.jl:546
 [6] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(Base, Symbol("##657#658")){String,Base.PkgId}, ::String) at .\iostream.jl:369
 [7] open at .\iostream.jl:367 [inlined]
 [8] explicit_manifest_uuid_path at .\loading.jl:520 [inlined]
 [9] manifest_uuid_path(::String, ::Base.PkgId) at .\loading.jl:324
 [10] locate_package(::Base.PkgId) at .\loading.jl:245
 [11] _require(::Base.PkgId) at .\loading.jl:927
 [12] require(::Base.PkgId) at .\loading.jl:858
 [13] require(::Module, ::Symbol) at .\loading.jl:853
 [14] include at .\boot.jl:326 [inlined]
 [15] include_relative(::Module, ::String) at .\loading.jl:1038
 [16] include(::Module, ::String) at .\sysimg.jl:29
 [17] exec_options(::Base.JLOptions) at .\client.jl:267
 [18] _start() at .\client.jl:436
in expression starting at e:\my project\julia练习\tempCodeRunnerFile.jl:1

[Done] exited with code=1 in 3.702 seconds

之前在github上的issues里也没找到解决办法,希望各位了解的帮忙看一下是什么问题,谢谢!


#2

这个问题已经在QQ群里解决。没有用管理员权限启动Julia编译器导致的。