I can’t understand this new error after updating to Julia v1.6. When I try in the REPL inside vscode
a command like using Agents
or even using Plots
I receive the following message. This does not happen in vscode
on my Mac. Only on Windows.
If I only use the REPL on Windows outside vscode
there is no error.
julia> using Agents
[ Info: Precompiling Agents [46ada45e-f475-11e8-01d0-f70cc89e6671]
ERROR: LoadError: ArgumentError: Package MbedTLS_jll [c8ffd9c3-330d-5841-b78e-0817d7145fa1] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
Stacktrace:
[1] _require(::Base.PkgId) at .\loading.jl:999
[2] require(::Base.PkgId) at .\loading.jl:928
[3] require(::Module, ::Symbol) at .\loading.jl:923
[4] include(::Function, ::Module, ::String) at .\Base.jl:380
[5] include(::Module, ::String) at .\Base.jl:368
[6] top-level scope at none:2
[7] eval at .\boot.jl:331 [inlined]
[8] eval(::Expr) at .\client.jl:467
[9] top-level scope at .\none:3
in expression starting at C:\Users\sbac\.julia\packages\MbedTLS\4YY6E\src\MbedTLS.jl:3
ERROR: LoadError: LoadError: Failed to precompile MbedTLS [739be429-bea8-5141-9913-cc70e7f3736d] to C:\Users\sbac\.julia\compiled\v1.5\MbedTLS\bf9T0_rShTY.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include at .\Base.jl:368 [inlined]
[8] include(::String) at C:\Users\sbac\.julia\packages\HTTP\IAI92\src\HTTP.jl:1
[9] top-level scope at C:\Users\sbac\.julia\packages\HTTP\IAI92\src\HTTP.jl:18
[10] include(::Function, ::Module, ::String) at .\Base.jl:380
[11] include(::Module, ::String) at .\Base.jl:368
[12] top-level scope at none:2
[13] eval at .\boot.jl:331 [inlined]
[14] eval(::Expr) at .\client.jl:467
[15] top-level scope at .\none:3
in expression starting at C:\Users\sbac\.julia\packages\HTTP\IAI92\src\IOExtras.jl:11
in expression starting at C:\Users\sbac\.julia\packages\HTTP\IAI92\src\HTTP.jl:18
ERROR: LoadError: Failed to precompile HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3] to C:\Users\sbac\.julia\compiled\v1.5\HTTP\zXWya_rShTY.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\sbac\.julia\packages\OpenStreetMapX\pfbvr\src\OpenStreetMapX.jl:10
ERROR: LoadError: Failed to precompile OpenStreetMapX [86cd37e6-c0ff-550b-95fe-21d72c8d4fc9] to C:\Users\sbac\.julia\compiled\v1.5\OpenStreetMapX\3fbUy_rShTY.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\sbac\.julia\packages\Agents\G69lx\src\Agents.jl:8
ERROR: Failed to precompile Agents [46ada45e-f475-11e8-01d0-f70cc89e6671] to C:\Users\sbac\.julia\compiled\v1.5\Agents\nTsV8_rShTY.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] eval at .\boot.jl:331 [inlined]
[7] eval at .\Base.jl:39 [inlined]
[8] repleval(::Module, ::Expr, ::String) at c:\Users\sbac\.vscode\extensions\julialang.language-julia-1.1.38\scripts\packages\VSCodeServer\src\repl.jl:124
[9] (::VSCodeServer.var"#47#49"{Module,Expr,REPL.LineEditREPL,REPL.LineEdit.Prompt})() at c:\Users\sbac\.vscode\extensions\julialang.language-julia-1.1.38\scripts\packages\VSCodeServer\src\repl.jl:99
[10] with_logstate(::Function, ::Any) at .\logging.jl:408
[11] with_logger at .\logging.jl:514 [inlined]
[12] (::VSCodeServer.var"#46#48"{Module,Expr,REPL.LineEditREPL,REPL.LineEdit.Prompt})() at c:\Users\sbac\.vscode\extensions\julialang.language-julia-1.1.38\scripts\packages\VSCodeServer\src\repl.jl:100
[13] #invokelatest#1 at .\essentials.jl:710 [inlined]
[14] invokelatest(::Any) at .\essentials.jl:709
[15] macro expansion at c:\Users\sbac\.vscode\extensions\julialang.language-julia-1.1.38\scripts\packages\VSCodeServer\src\eval.jl:34 [inlined]
[16] (::VSCodeServer.var"#60#61")() at .\task.jl:356