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:
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.