运行错误
一般问题
发布于 2024-12-27 21:38:21
查看 22过去548天
正在初始化...
加载函数库: 100%[==============================] Time: 0:00:50
初始化完成!
julia> 正在运行 Untitled-1.jl
ERROR: ArgumentError: Package Plots not found in current path.
- Run
import Pkg; Pkg.add("Plots")to install the Plots package.
Stacktrace:
[1] macro expansion
@ .\loading.jl:1630 [inlined]
[2] macro expansion
@ .\lock.jl:267 [inlined]
[3] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1611
[4] eval
@ .\boot.jl:370 [inlined]
[5] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1903
[6] include_string(m::Module, txt::String, fname::String)
@ Base .\loading.jl:1913
[7] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\essentials.jl:819
[8] invokelatest(::Any, ::Any, ::Vararg{Any})
@ Base .\essentials.jl:816
[9] inlineeval(m::Module, code::String, code_line::Int64, code_column::Int64, file::String; softscope::Bool)
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:303
[10] (::VSCodeServer.var"#82#87"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:186
[11] withpath(f::VSCodeServer.var"#82#87"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams}, path::String)
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\repl.jl:285
[12] (::VSCodeServer.var"#81#86"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:183
[13] hideprompt(f::VSCodeServer.var"#81#86"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\repl.jl:38
[14] (::VSCodeServer.var"#80#85"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:154
[15] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging .\logging.jl:514
[16] with_logger
@ .\logging.jl:626 [inlined]
[17] (::VSCodeServer.var"#79#84"{VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:283
[18] #invokelatest#2
@ .\essentials.jl:819 [inlined]
[19] invokelatest(::Any)
@ Base .\essentials.jl:816
[20] macro expansion
@ C:\Users\Public\TongYuan.syslab-oss\extensions\tongyuan.syslab-julia-0.9.17\scripts\packages\VSCodeServer\src\eval.jl:36 [inlined]
[21] (::VSCodeServer.var"#77#78")()
@ VSCodeServer .\task.jl:514
运行错误很多,但不知道怎么解决
所属专栏:Syslab基础平台
产品信息:Syslab科学计算环境