I got a message "using Plots" in Julia and I do no how to resolve it

1k Views Asked by At

I am a new in Julia and after adding the Plots package I tried to use Plots and I got this Error message:

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 

can someone help me to resolve the problem

1

There are 1 best solutions below

5
On

Try to install FFMPEG, rebuild this and Plots as well

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

There is good chance it will work.