# Error: Installation of Plots

**URL:** <https://discourse.julialang.org/t/error-installation-of-plots/100318>\
**Category:** General Usage\
**Tags:** plots\
**Created:** [June 14, 2023, 8:36am UTC](https://discourse.julialang.org/t/error-installation-of-plots/100318 "2023-06-14T08:36:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilex](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@ilex](https://discourse.julialang.org/u/ilex)\
**Post date:** [June 14, 2023, 8:36am UTC](https://discourse.julialang.org/t/error-installation-of-plots/100318/1 "2023-06-14T08:36:34Z")

</div>

Trying to install Plots following error occures:

> julia\> import Pkg;
> 
> julia\> Pkg.add(“Plots”)  
> Updating registry at `C:\Users\angel.naya-geiger\Juliawin\userdata\.julia\registries\General.toml`  
> Resolving package versions…  
> No Changes to `C:\Users\angel.naya-geiger\Juliawin\userdata\.julia\environments\v1.8\Project.toml`  
> No Changes to `C:\Users\angel.naya-geiger\Juliawin\userdata\.julia\environments\v1.8\Manifest.toml`
> 
> julia\> using Plots  
> [Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]  
> Deps path: C:\Users\angel.naya-geiger\Juliawin\userdata.julia\packages\FFMPEG\guN1x\src..\deps\deps.jl  
> ERROR: LoadError: FFMPEG not installed properly, run `] build FFMPEG`, restart Julia and try again  
> Stacktrace:  
> [1] error(s::String)  
> @ Base .\error.jl:35  
> [2] top-level scope  
> @ C:\Users\angel.naya-geiger\Juliawin\userdata.julia\packages\FFMPEG\guN1x\src\FFMPEG.jl:23  
> [3] include  
> @ .\Base.jl:419 [inlined]  
> [4] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)  
> @ Base .\loading.jl:1554  
> [5] top-level scope  
> @ stdin:1  
> in expression starting at C:\Users\angel.naya-geiger\Juliawin\userdata.julia\packages\FFMPEG\guN1x\src\FFMPEG.jl:1  
> in expression starting at stdin:1  
> ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\angel.naya-geiger\Juliawin\userdata.julia\compiled\v1.8\FFMPEG\jl\_8156.tmp.  
> Stacktrace:  
> [1] error(s::String)  
> @ Base .\error.jl:35  
> [2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
> @ Base .\loading.jl:1705  
> [3] compilecache  
> @ .\loading.jl:1649 [inlined]  
> [4] \_require(pkg::Base.PkgId)  
> @ Base .\loading.jl:1337  
> [5] \_require\_prelocked(uuidkey::Base.PkgId)  
> @ Base .\loading.jl:1200  
> [6] macro expansion  
> @ .\loading.jl:1180 [inlined]  
> [7] macro expansion  
> @ .\lock.jl:223 [inlined]  
> [8] require(into::Module, mod::Symbol)  
> @ Base .\loading.jl:1144  
> [9] include  
> @ .\Base.jl:419 [inlined]  
> [10] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)  
> @ Base .\loading.jl:1554  
> [11] top-level scope  
> @ stdin:1  
> in expression starting at C:\Users\angel.naya-geiger\Juliawin\userdata.julia\packages\Plots\iYDwd\src\Plots.jl:1  
> in expression starting at stdin:1  
> ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\angel.naya-geiger\Juliawin\userdata.julia\compiled\v1.8\Plots\jl\_7929.tmp.  
> Stacktrace:  
> [1] error(s::String)  
> @ Base .\error.jl:35  
> [2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
> @ Base .\loading.jl:1705  
> [3] compilecache  
> @ .\loading.jl:1649 [inlined]  
> [4] \_require(pkg::Base.PkgId)  
> @ Base .\loading.jl:1337  
> [5] \_require\_prelocked(uuidkey::Base.PkgId)  
> @ Base .\loading.jl:1200  
> [6] macro expansion  
> @ .\loading.jl:1180 [inlined]  
> [7] macro expansion  
> @ .\lock.jl:223 [inlined]  
> [8] require(into::Module, mod::Symbol)  
> @ Base .\loading.jl:1144

I tryed to run `] build FFMPEG`:

> (@v1.8) pkg\> build FFMPEG  
> Building FFMPEG → `C:\Users\user\Juliawin\userdata\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\9143266ba77d3313a4cf61d8333a1970e8c5d8b6\build.log`  
> ERROR: Error building `FFMPEG`:  
> ERROR: LoadError: Unable to open libLLVM!

version info about the system I use:

> using InteractiveUtils; versioninfo()  
> Julia Version 1.8.1  
> Commit afb6c60d69 (2022-09-06 15:09 UTC)  
> Platform Info:  
> OS: Windows (x86\_64-w64-mingw32)  
> CPU: 8 × Intel(R) Core™ i5-10310U CPU @ 1.70GHz  
> WORD\_SIZE: 64  
> LIBM: libopenlibm  
> LLVM: libLLVM-13.0.1 (ORCJIT, skylake)  
> Threads: 1 on 8 virtual cores  
> Environment:  
> JULIA\_DEPOT\_PATH = C:\Users\angel.naya-geiger\Juliawin\userdata.julia

libLLVM seems to be installed, however FFMPEG seems to have problems to access it.  
I`m running out of ideas. Any suggestions?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [May 3, 2024, 4:38pm UTC](https://discourse.julialang.org/t/error-installation-of-plots/100318/2 "2024-05-03T16:38:28Z")

</div>

Cross referencing

> [@Precompiling error for unknown reason](https://discourse.julialang.org/t/precompiling-error-for-unknown-reason/107073):
>
> I tried to precompile CSV into julia v1.84 but failed showing error message about call. I thought maybe the version update is the problem so I downloaded v1.94 and again have the problem. From import Pkg; Pkg.precompile(), I got the following report. Can anyone help me with resolving the problem? Precompiling project… ✗ BinaryProvider ✗ Adapt → AdaptStaticArraysExt ✗ CSV ✗ FFMPEG ✗ Plots ✗ StatsPlots 1 dependency successfully precompiled in 12 seconds. 213 already precompiled. ERROR:…
