我在Julia中收到一条消息“正在使用绘图”,我不知道如何解决它

时间:2020-09-07 21:17:45

标签: windows installation ffmpeg julia julia-plots

我是Julia的新手,添加了Plots程序包后,我尝试使用Plots,但出现了以下错误消息:

julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "C:\Users\niri.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin\avcodec-58.dll"
The specified module could not be found.
Stacktrace:

ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\niri.julia\compiled\v1.5\FFMPEG\TGvga_Ik59J.ji.

ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to 

有人可以帮助我解决问题吗

1 个答案:

答案 0 :(得分:1)

尝试安装FFMPEG,并重新构建Plots

using Pkg
pkg"add FFMPEG"
pkg"build FFMPEG"
pkg"build Plots"

很有可能会奏效。