# Julia can't precompile various packages

**URL:** <https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589>\
**Category:** New to Julia\
**Created:** [October 11, 2022, 6:11pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589 "2022-10-11T18:11:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 6:11pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/1 "2022-10-11T18:11:07Z")

</div>

Hey,

I’m a relatively new Julia user, though I have run some small scripts in the past. I am currently encountering an error when Julia tries to precompile a few different packages that I need. The error is extremely long and I can’t parse it, so all I can do is reproduce it below:

```julia
ERROR: LoadError: LoadError: InitError: could not load library "C:\Users\YOTAM\.julia\artifacts\3aff78028a0bb2ad40ebc3ae7e465a52dcbe2730\bin\libcairo-2.dll"
The specified module could not be found. 
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:114
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:114
  [3] macro expansion
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\products\library_generators.jl:54 [inlined]
  [4] __init__ ()
    @ Cairo_jll C:\Users\YOTAM\.julia\packages\Cairo_jll\HW4xi\src\wrappers\x86_64-w64-mingw32.jl:18
  [5] _include_from_serialized(path::String, depmods::Vector{Any})
    @ Base .\loading.jl:696
  [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base .\loading.jl:782
  [7] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1020
  [8] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [9] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
 [10] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
 [11] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [12] include
    @ .\Base.jl:386 [inlined]
 [13] 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:1235
 [14] top-level scope
    @ none:1
 [15] eval
    @ .\boot.jl:360 [inlined]
 [16] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [17] top-level scope
    @ none:1
during initialization of module Cairo_jll
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\HarfBuzz_jll.jl:2
ERROR: LoadError: LoadError: Failed to precompile HarfBuzz_jll [2e76f6c2-a576-52d4-95c1-20adfe4de566] to C:\Users\YOTAM\.julia\compiled\v1.6\HarfBuzz_jll\jl_ECDB.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{Base.PipeEndpoint}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
  [9] include
    @ .\Base.jl:386 [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::String)
    @ Base .\loading.jl:1235
 [11] top-level scope
    @ none:1
 [12] eval
    @ .\boot.jl:360 [inlined]
 [13] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [14] top-level scope
    @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\wrappers\x86_64-w64-mingw32.jl:6
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\libass_jll.jl:2
ERROR: LoadError: LoadError: Failed to precompile libass_jll [0ac62f75-1d6f-5e53-bd7c-93b484bb37c0] to C:\Users\YOTAM\.julia\compiled\v1.6\libass_jll\jl_DC61.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{Base.PipeEndpoint}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
  [9] include
    @ .\Base.jl:386 [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::String)
    @ Base .\loading.jl:1235
 [11] top-level scope
    @ none:1
 [12] eval
    @ .\boot.jl:360 [inlined]
 [13] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [14] top-level scope
    @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\FFMPEG_jll.jl:2
ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab43fb4e5] to C:\Users\YOTAM\.julia\compiled\v1.6\FFMPEG_jll\jl_D31A.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{Base.PipeEndpoint}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [inlined]
  [8] 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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG\OUpap\src\FFMPEG.jl:1
ERROR: LoadError: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\YOTAM\.julia\compiled\v1.6\FFMPEG\jl_CF8F.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{Base.PipeEndpoint}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
  [8] include(x::String)
    @ Plots C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
  [9] top-level scope
    @ C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:182
 [10] include
    @ .\Base.jl:386 [inlined]
 [11] 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:1235
 [12] top-level scope
    @ none:1
 [13] eval
    @ .\boot.jl:360 [inlined]
 [14] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [15] top-level scope
    @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\animation.jl:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
ERROR: LoadError: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\YOTAM\.julia\compiled\v1.6\Plots\jl_9FF4.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOContext{Base.PipeEndpoint}, internal_stdout::IOContext{Base.PipeEndpoint}, ignore_loaded_modules::Bool)
    @ Base .\loading.jl:1385
  [3] compilecache(pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1329
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1043
  [5] require(uuidkey::Base.PkgId)
    @ Base .\loading.jl:936
  [6] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:923
  [7] include
    @ .\Base.jl:386 [inlined]
  [8] 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:1235
  [9] top-level scope
    @ none:1
 [10] eval
    @ .\boot.jl:360 [inlined]
 [11] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [12] top-level scope
    @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\Laplacians\ChQeT\src\Laplacians.jl:1

```

(This particular error occurs when I try to load a package called “Laplacians”).

Any ideas? I should add that my OS is Windows 10.

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [October 11, 2022, 6:17pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/2 "2022-10-11T18:17:31Z")

</div>

Putting your error in code blocks makes it a little easier for us to work out, see here:

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

But you it seems that something is wrong with Cairo\_dll install, and maybe your environment generally? You can maybe try `] update` first.

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 6:26pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/3 "2022-10-11T18:26:05Z")

</div>

Thanks,

tried “] update” and got that the packages FFMPEG\_jll, PyCall, GR\_jll, Plots failed, and got the same long error message in response to “using Laplacians”.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 6:28pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/4 "2022-10-11T18:28:59Z")

</div>

Can you try to install the package Laplacians in a separate project:

```julia
mkdir myproject
cd myproject
julia --project="."

```

and then in Julia:

```julia
using Pkg
Pkg.add("Laplacians")

```

Does that work?

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 6:36pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/5 "2022-10-11T18:36:46Z")

</div>

Thanks,

Unfortunately no, in this case I get that the following dependencies errored’‘’  
✗ HarfBuzz\_jll  
✗ libass\_jll  
✗ FFMPEG\_jll  
✗ FFMPEG  
✗ GR\_jll  
✗ Plots  
✗ Laplacians  
‘’’

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 6:39pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/6 "2022-10-11T18:39:14Z")

</div>

What is the output of:

```julia
versioninfo()

```

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 6:40pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/7 "2022-10-11T18:40:41Z")

</div>

‘’’  
Julia Version 1.6.2  
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)  
Platform Info:  
OS: Windows (x86\_64-w64-mingw32)  
CPU: Intel(R) Core™ i3-6006U CPU @ 2.00GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)  
‘’’

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [October 11, 2022, 6:46pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/8 "2022-10-11T18:46:42Z")

</div>

These are the code ticks, btw 😉 ```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 6:51pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/9 "2022-10-11T18:51:24Z")

</div>

Working perfect for me using Julia 1.8.2 on Windows 10. What is the output of

```julia
pkg> st

```

You can enter the package manager mode with the ] key and get back the Julia  
prompt with the backspace key.

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 6:54pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/10 "2022-10-11T18:54:30Z")

</div>

The output is

```julia
  Status `C:\Users\YOTAM\myproject\Project.toml`
  [6f8e5838] Laplacians v1.3.0

```

Should I try to switch to 1.8.2?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:02pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/11 "2022-10-11T19:02:48Z")

</div>

```julia
C:\Users\ufechner\repos\laplacians>julia --project
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.6.2 (2021-07-14)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> using Laplacians
Entropy pool not available to seed RNG; using ad-hoc entropy sources.

julia>

```

I also tested on 1.6.2, which also works for me.

Did you try:

```julia
pkg> up

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:05pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/12 "2022-10-11T19:05:29Z")

</div>

OK, I get a test failure:

```julia
pkg> test Laplacians

```

```julia
     Testing Running tests...
Entropy pool not available to seed RNG; using ad-hoc entropy sources.
ERROR: LoadError: LoadError: UndefVarError: cholmod_l_analyze not defined
Stacktrace:
  [1] getproperty
    @ .\Base.jl:26 [inlined]
  [2] ask_cholmod(sdd::SparseMatrixCSC{Float64, Int64})
    @ Laplacians C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\from_cholmod.jl:29
  [3] augmentTreeOpt(tree::SparseMatrixCSC{Float64, Int64}, A::SparseMatrixCSC{Float64, Int64}; params::AugTreeParams)
    @ Laplacians C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\augTreeSolver.jl:136
  [4] augTreePrecon(ddmat::SparseMatrixCSC{Float64, Int64}; params::AugTreeParams)
    @ Laplacians C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\augTreeSolver.jl:207
  [5] augTreeSddm(sddm::SparseMatrixCSC{Float64, Int64}; tol::Float64, maxits::Int64, maxtime::Float64, verbose::Bool, pcgIts::Vector{Int64}, params::AugTreeParams)
    @ Laplacians C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\augTreeSolver.jl:235
  [6] #5
    @ C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\isotonicIPM.jl:34 [inlined]
  [7] l2NewtonStep(Bt::SparseMatrixCSC{Float64, Int64}, x::Vector{Float64}, v::Vector{Float64}, mu0::Float64, solver::var"#5#7")
    @ Main C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\isotonicIPM.jl:152
  [8] isotonicIPM(A::SparseMatrixCSC{Float64, Int64}, v::Vector{Float64}, eps::Float64, solver::Function, relGapTermination::Bool)
    @ Main C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\isotonicIPM.jl:95
  [9] isotonicIPM(A::SparseMatrixCSC{Float64, Int64}, v::Vector{Float64})
    @ Main C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\src\isotonicIPM.jl:36
 [10] top-level scope
    @ .\timing.jl:210
 [11] include(fname::String)
    @ Base.MainInclude .\client.jl:444
 [12] top-level scope
    @ C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\test\runtests.jl:11
 [13] include(fname::String)
    @ Base.MainInclude .\client.jl:444
 [14] top-level scope
    @ none:6
in expression starting at C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\test\testIncludes.jl:76
in expression starting at C:\Users\ufechner\.julia\packages\Laplacians\ChQeT\test\runtests.jl:11
ERROR: Package Laplacians errored during testing

```

The tests pass using Julia 1.8.2 on Linux…

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 7:10pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/13 "2022-10-11T19:10:01Z")

</div>

After running

```julia
pkg> up

```

```julia
Pkg.add("Laplacians")

```

passes, but when I try

```julia
using Laplacians

```

```julia
[Info: Precompiling Laplacians [6f8e5838-0efe-5de0-80a3-5fb4f8dbb1de]
Entropy pool not available to seed RNG; using ad-hoc entropy sources.
ERROR: LoadError: LoadError: InitError: could not load library "C:\Users\YOTAM\.julia\artifacts\3aff78028a0bb2ad40ebc3ae7e465a52dcbe2730\bin\libcairo-2.dll"
The specified module could not be found.
Stacktrace:
 [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
   @ Base.Libc.Libdl .\libdl.jl:114
 [2] dlopen(s::String, flags::UInt32)
   @ Base.Libc.Libdl .\libdl.jl:114
 [3] macro expansion
   @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\products\library_generators.jl:54 [inlined]
 [4] __init__ ()
   @ Cairo_jll C:\Users\YOTAM\.julia\packages\Cairo_jll\HW4xi\src\wrappers\x86_64-w64-mingw32.jl:18
 [5] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base .\loading.jl:696
 [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
   @ Base .\loading.jl:782
 [7] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1020
 [8] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [9] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
[10] include(mod::Module, _path::String)
   @ Base .\Base.jl:386
[11] top-level scope
   @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
[12] include
   @ .\Base.jl:386 [inlined]
[13] 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:1235
[14] top-level scope
   @ none:1
[15] eval
   @ .\boot.jl:360 [inlined]
[16] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[17] top-level scope
   @ none:1
during initialization of module Cairo_jll
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\HarfBuzz_jll.jl:2
ERROR: LoadError: LoadError: Failed to precompile HarfBuzz_jll [2e76f6c2-a576-52d4-95c1-20adfe4de566] to C:\Users\YOTAM\.julia\compiled\v1.6\HarfBuzz_jll\jl_7956.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base .\loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
 [7] include(mod::Module, _path::String)
   @ Base .\Base.jl:386
 [8] top-level scope
   @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [9] include
   @ .\Base.jl:386 [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::String)
   @ Base .\loading.jl:1235
[11] top-level scope
   @ none:1
[12] eval
   @ .\boot.jl:360 [inlined]
[13] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[14] top-level scope
   @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\wrappers\x86_64-w64-mingw32.jl:6
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\libass_jll.jl:2
ERROR: LoadError: LoadError: Failed to precompile libass_jll [0ac62f75-1d6f-5e53-bd7c-93b484bb37c0] to C:\Users\YOTAM\.julia\compiled\v1.6\libass_jll\jl_71B5.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base .\loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
 [7] include(mod::Module, _path::String)
   @ Base .\Base.jl:386
 [8] top-level scope
   @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [9] include
   @ .\Base.jl:386 [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::String)
   @ Base .\loading.jl:1235
[11] top-level scope
   @ none:1
[12] eval
   @ .\boot.jl:360 [inlined]
[13] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[14] top-level scope
   @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\FFMPEG_jll.jl:2
ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab43fb4e5] to C:\Users\YOTAM\.julia\compiled\v1.6\FFMPEG_jll\jl_6A91.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base .\loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
 [7] include
   @ .\Base.jl:386 [inlined]
 [8] 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:1235
 [9] top-level scope
   @ none:1
[10] eval
   @ .\boot.jl:360 [inlined]
[11] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[12] top-level scope
   @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG\OUpap\src\FFMPEG.jl:1
ERROR: LoadError: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\YOTAM\.julia\compiled\v1.6\FFMPEG\jl_67B3.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base .\loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
 [7] include(mod::Module, _path::String)
   @ Base .\Base.jl:386
 [8] include(x::String)
   @ Plots C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
 [9] top-level scope
   @ C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:182
[10] include
   @ .\Base.jl:386 [inlined]
[11] 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:1235
[12] top-level scope
   @ none:1
[13] eval
   @ .\boot.jl:360 [inlined]
[14] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[15] top-level scope
   @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\animation.jl:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
ERROR: LoadError: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\YOTAM\.julia\compiled\v1.6\Plots\jl_3F5B.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
   @ Base .\loading.jl:1385
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1329
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1043
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:936
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:923
 [7] include
   @ .\Base.jl:386 [inlined]
 [8] 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:1235
 [9] top-level scope
   @ none:1
[10] eval
   @ .\boot.jl:360 [inlined]
[11] eval(x::Expr)
   @ Base.MainInclude .\client.jl:446
[12] top-level scope
   @ none:1
in expression starting at C:\Users\YOTAM\.julia\packages\Laplacians\ChQeT\src\Laplacians.jl:1
ERROR: Failed to precompile Laplacians [6f8e5838-0efe-5de0-80a3-5fb4f8dbb1de] to C:\Users\YOTAM\.julia\compiled\v1.6\Laplacians\jl_39B5.tmp.
Stacktrace:
[1] error(s::String)
  @ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY, ignore_loaded_modules::Bool)
  @ Base .\loading.jl:1385
[3] compilecache(pkg::Base.PkgId, path::String)
  @ Base .\loading.jl:1329
[4] _require(pkg::Base.PkgId)
  @ Base .\loading.jl:1043
[5] require(uuidkey::Base.PkgId)
  @ Base .\loading.jl:936
[6] require(into::Module, mod::Symbol)
  @ Base .\loading.jl:923

```

Not sure if this is different than test. FWIW I have been able to use this package using Google Colab.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:13pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/14 "2022-10-11T19:13:46Z")

</div>

I was running:

```julia
pkg> test Laplacians

```

using Julia 1.8.2 on Windows 10, and the tests passed.

So please try to use Julia 1.8.2…

And if you want to learn how to make sure that old package versions keep working read: [Working with Julia projects | Julia programming notes](https://ufechner7.github.io/2022/08/16/julia-projects.html)

By the way, the long term stable release is 1.6.7. If the package does not work with this version you could create a bug report at [Issues · danspielman/Laplacians.jl · GitHub](https://github.com/danspielman/Laplacians.jl/issues) …

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:30pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/15 "2022-10-11T19:30:24Z")

</div>

On the other hand, you can see here: [Laplacians.jl/Project.toml at master · danspielman/Laplacians.jl · GitHub](https://github.com/danspielman/Laplacians.jl/blob/master/Project.toml) that the oldest version of Julia that is supported by the current version of Laplacians is 1.7.0…

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 7:31pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/16 "2022-10-11T19:31:22Z")

</div>

Jesus, it’s still not working…changed to

```julia
Julia Version 1.8.2
Commit 36034abf26 (2022-09-29 15:21 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 4 × Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 4 virtual cores

```

and ran

```julia
] update

```

And yet I’m still getting

```julia
[Info: Precompiling Laplacians [6f8e5838-0efe-5de0-80a3-5fb4f8dbb1de]
Entropy pool not available to seed RNG; using ad-hoc entropy sources.
ERROR: LoadError: InitError: could not load library "C:\Users\YOTAM\.julia\artifacts\3aff78028a0bb2ad40ebc3ae7e465a52dcbe2730\bin\libcairo-2.dll"
The specified module could not be found.
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:116
  [3] macro expansion
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\products\library_generators.jl:54 [inlined]
  [4] __init__ ()
    @ Cairo_jll C:\Users\YOTAM\.julia\packages\Cairo_jll\HW4xi\src\wrappers\x86_64-w64-mingw32.jl:18
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
    @ Base .\loading.jl:831
  [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
    @ Base .\loading.jl:1039
  [7] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1315
  [8] _require_prelocked(uuidkey::Base.PkgId)
    @ Base .\loading.jl:1200
  [9] macro expansion
    @ .\loading.jl:1180 [inlined]
 [10] macro expansion
    @ .\lock.jl:223 [inlined]
 [11] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1144
 [12] include(mod::Module, _path::String)
    @ Base .\Base.jl:419
 [13] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [14] include
    @ .\Base.jl:419 [inlined]
 [15] 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
 [16] top-level scope
    @ stdin:1
during initialization of module Cairo_jll
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\HarfBuzz_jll\zavaV\src\HarfBuzz_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile HarfBuzz_jll [2e76f6c2-a576-52d4-95c1-20adfe4de566] to C:\Users\YOTAM\.julia\compiled\v1.8\HarfBuzz_jll\jl_82E6.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:1707
  [3] compilecache
    @ .\loading.jl:1651 [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(mod::Module, _path::String)
    @ Base .\Base.jl:419
 [10] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [11] include
    @ .\Base.jl:419 [inlined]
 [12] 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
 [13] top-level scope
    @ stdin:1
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\wrappers\x86_64-w64-mingw32.jl:6
in expression starting at C:\Users\YOTAM\.julia\packages\libass_jll\SaaQW\src\libass_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile libass_jll [0ac62f75-1d6f-5e53-bd7c-93b484bb37c0] to C:\Users\YOTAM\.julia\compiled\v1.8\libass_jll\jl_7E52.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:1707
  [3] compilecache
    @ .\loading.jl:1651 [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(mod::Module, _path::String)
    @ Base .\Base.jl:419
 [10] top-level scope
    @ C:\Users\YOTAM\.julia\packages\JLLWrappers\QpMQW\src\toplevel_generators.jl:188
 [11] include
    @ .\Base.jl:419 [inlined]
 [12] 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
 [13] top-level scope
    @ stdin:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\wrappers\x86_64-w64-mingw32.jl:4
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG_jll\OCtN5\src\FFMPEG_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab43fb4e5] to C:\Users\YOTAM\.julia\compiled\v1.8\FFMPEG_jll\jl_7866.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:1707
  [3] compilecache
    @ .\loading.jl:1651 [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::String)
    @ Base .\loading.jl:1554
 [11] top-level scope
    @ stdin:1
in expression starting at C:\Users\YOTAM\.julia\packages\FFMPEG\OUpap\src\FFMPEG.jl:1
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\YOTAM\.julia\compiled\v1.8\FFMPEG\jl_7672.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:1707
  [3] compilecache
    @ .\loading.jl:1651 [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(mod::Module, _path::String)
    @ Base .\Base.jl:419
 [10] include(x::String)
    @ Plots C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
 [11] top-level scope
    @ C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:182
 [12] include
    @ .\Base.jl:419 [inlined]
 [13] 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
 [14] top-level scope
    @ stdin:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\animation.jl:1
in expression starting at C:\Users\YOTAM\.julia\packages\Plots\AAjgN\src\Plots.jl:1
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\YOTAM\.julia\compiled\v1.8\Plots\jl_4B6A.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:1707
  [3] compilecache
    @ .\loading.jl:1651 [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\YOTAM\.julia\packages\Laplacians\ChQeT\src\Laplacians.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile Laplacians [6f8e5838-0efe-5de0-80a3-5fb4f8dbb1de] to C:\Users\YOTAM\.julia\compiled\v1.8\Laplacians\jl_465F.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:1707
 [3] compilecache
   @ .\loading.jl:1651 [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

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:41pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/17 "2022-10-11T19:41:07Z")

</div>

Can you check if this file exists on your computer:

```julia
C:\Users\YOTAM\.julia\artifacts\3aff78028a0bb2ad40ebc3ae7e465a52dcbe2730\bin\libcairo-2.dll

```

It exists on my computer.

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 7:46pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/18 "2022-10-11T19:46:01Z")

</div>

Nope, I’m getting

```julia
The system cannot find the path specified.

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [October 11, 2022, 7:47pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/19 "2022-10-11T19:47:47Z")

</div>

Does this path exist:

```julia
C:\Users\YOTAM\.julia\artifacts\3aff78028a0bb2ad40ebc3ae7e465a52dcbe2730

```

or this one:

```julia
C:\Users\YOTAM\.julia\artifacts

```

---

<div class="post-metadata">

**Author:** ![fuzzy](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@fuzzy](https://discourse.julialang.org/u/fuzzy)\
**Post date:** [October 11, 2022, 7:55pm UTC](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589/20 "2022-10-11T19:55:50Z")

</div>

Yes, both paths exist.

[Next page](https://discourse.julialang.org/t/julia-cant-precompile-various-packages/88589.md?page=2)
