Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 415
Ehsan Avatar asked Oct 14 '25 15:10

Ehsan


1 Answers

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.

like image 103
Przemyslaw Szufel Avatar answered Oct 17 '25 04:10

Przemyslaw Szufel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!