# Error when using StatsPlots

**URL:** <https://discourse.julialang.org/t/error-when-using-statsplots/86646>\
**Category:** General Usage\
**Created:** [September 1, 2022, 3:38pm UTC](https://discourse.julialang.org/t/error-when-using-statsplots/86646 "2022-09-01T15:38:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdou](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Abdou](https://discourse.julialang.org/u/Abdou)\
**Post date:** [September 1, 2022, 3:38pm UTC](https://discourse.julialang.org/t/error-when-using-statsplots/86646/1 "2022-09-01T15:38:38Z")

</div>

I’ve just installed Julia 1.8 and added StatPlots to my packages but when I try to use this package I get this errors

ERROR: LoadError: InitError: could not load library “C:\Users\username.julia\artifacts\79e8b1aff46d44d97564fe0ffe0e4087996e924d\bin\libearcut.dll”  
the specified module not found  
during initialization of module EarCut\_jll  
in expression starting at C:\Users\username.julia\packages\GeometryBasics\5Sb5M\src\GeometryBasics.jl:1  
in expression starting at stdin:1

ERROR: LoadError: Failed to precompile GeometryBasics [5c1252a2-5f33-56bf-86c9-59e7332b4326] to  
C:\Users\username.julia\compiled\v1.8\GeometryBasics\jl\_F3D0.tmp.  
in expression starting at C:\Users\username.julia\packages\Plots\lW9ll\src\Plots.jl:1  
in expression starting at stdin:1

ERROR: LoadError: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to  
C:\Users\username.julia\compiled\v1.8\Plots\jl\_F0A5.tmp.  
in expression starting at C:\Users\username.julia\packages\StatsPlots\faFN5\src\StatsPlots.jl:1  
in expression starting at stdin:1

ERROR: Failed to precompile StatsPlots [f3b207a7-027a-5e70-b257-86293d7955fd] to  
C:\Users\username.julia\compiled\v1.8\StatsPlots\jl\_D8F0.tmp.  
Thanks for any contribution
