Hi,
I am new to the julia paradigm and have been trying to run the tutorials in the JuliaCon2021. I use their project.toml and instantiate my project. I get some errors with most .jll files which I am not sure how to fix. I then try to run IJulia and receive the following error. I am running julia 1.6.2 (the tutorial did say it was tested on julia 1.6.0)
julia> using IJulia
[ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: ArgumentError: Package MbedTLS_jll does not have JLLWrappers in its dependencies:
If you have MbedTLS_jll checked out for development and have
added JLLWrappers as a dependency but haven’t updated your primary
environment’s manifest file, try Pkg.resolve().
Otherwise you may need to report an issue with MbedTLS_jll
Stacktrace:
[1] require(into::Module, mod::Symbol)
@ Base .\loading.jl:906
[2] include
@ .\Base.jl:386 [inlined]
[3] 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
[4] top-level scope
@ none:1
[5] eval
@ .\boot.jl:360 [inlined]
[6] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[7] top-level scope
@ none:1
in expression starting at C:\Users\Valli.julia\packages\MbedTLS_jll\qMb7d\src\MbedTLS_jll.jl:2
ERROR: LoadError: Failed to precompile MbedTLS_jll [c8ffd9c3-330d-5841-b78e-0817d7145fa1] to C:\Users\Valli.julia\compiled\v1.6\MbedTLS_jll\jl_9271.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\Valli.julia\packages\MbedTLS\4YY6E\src\MbedTLS.jl:1
ERROR: LoadError: LoadError: Failed to precompile MbedTLS [739be429-bea8-5141-9913-cc70e7f3736d] to C:\Users\Valli.julia\compiled\v1.6\MbedTLS\jl_90FA.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)
@ IJulia C:\Users\Valli.julia\packages\IJulia\e8kqU\src\IJulia.jl:33
[9] top-level scope
@ C:\Users\Valli.julia\packages\IJulia\e8kqU\src\IJulia.jl:309
[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::Nothing)
@ 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\Valli.julia\packages\IJulia\e8kqU\src\hmac.jl:1
in expression starting at C:\Users\Valli.julia\packages\IJulia\e8kqU\src\IJulia.jl:1
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\Valli.julia\compiled\v1.6\IJulia\jl_8D51.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
Hi Arrigo,
Thank you for your suggestion.
I tried Pkg.resolve() but received no changes:
julia> Pkg.resolve()
No Changes to D:\DataScience\Julia\JuliaCon2021\JuliaCon2021-StatisticsWithJuliaFromTheGroundUp\Project.toml
No Changes to D:\DataScience\Julia\JuliaCon2021\JuliaCon2021-StatisticsWithJuliaFromTheGroundUp\Manifest.toml
Having different Julia versions installed is not a problem. You just need to reinstall all the Julia packages that you need in each version (they don’t carry over). By the way, I don’t see any error messages in the last log.
I still can’t seem to get some of the libraries working. For instance using IJulia throws following error:
julia> using IJulia
[ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: ArgumentError: Package MbedTLS_jll does not have JLLWrappers in its dependencies:
If you have MbedTLS_jll checked out for development and have
added JLLWrappers as a dependency but haven’t updated your primary
environment’s manifest file, try Pkg.resolve().
Otherwise you may need to report an issue with MbedTLS_jll
Stacktrace:
[1] require(into::Module, mod::Symbol)
@ Base .\loading.jl:906
[2] include
@ .\Base.jl:386 [inlined]
[3] 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
[4] top-level scope
@ none:1
[5] eval
@ .\boot.jl:360 [inlined]
[6] eval(x::Expr)
@ Base.MainInclude .\client.jl:446
[7] top-level scope
@ none:1
in expression starting at C:\Users\Valli.julia\packages\MbedTLS_jll\qMb7d\src\MbedTLS_jll.jl:2
What does the MbedTLS_jll does not have JLLWrappers in its dependencies mean? I tried precompile and resolve, nothing seems to work!