JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.66k stars 5.48k forks source link

USE_SYSTEM_LLD=1 broken with pkgimages #49718

Open potaslab opened 1 year ago

potaslab commented 1 year ago

I just installed Julia v1.9.0. Usually this is straight forward, I install the .exe file, duplicate the previous versions environment folder and change the name (i.e. from v1.8 to v1.9). I then do a pkg update and usually everything works fine.

My current version

julia> versioninfo()
Julia Version 1.9.0
Commit 8e63055292 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 24 × AMD Ryzen Threadripper 1920X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver1)
  Threads: 1 on 24 virtual cores
Environment:
  JULIA_IMAGE_THREADS = 1

This time I have all these dependency errors, and

So I deleted the v1.9 folder in the environments folder and reinstalled the following packages:

(@v1.9) pkg> add Glob JLD2 FileIO CodecZlib Plots PlotlyJS Flux CUDA DSP Statistics Random MLJ LinearAlgebra TextAnalysis InlineStrings DataFrames CSV FindPeaks1D Libdl

My current version

julia> versioninfo()
Julia Version 1.9.0
Commit 8e63055292 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 24 × AMD Ryzen Threadripper 1920X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver1)
  Threads: 1 on 24 virtual cores
Environment:
  JULIA_IMAGE_THREADS = 1

Errors as follows, even after adding/using DataStructures and StatsBase:

  17 dependencies had warnings during precompilation:
┌ Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MLUtils [f1d291b0-491e-4a28-83b9-f70985020b54]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ MLJ [add582a8-e3ab-11e8-2d5e-e98b27df1bc7]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-214828a7127b is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-2153bcbbe2e8 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module MLJBase with build ID ffffffff-ffff-ffff-0000-214cdaf2d5aa is missing from the cache.
│  │ This may mean MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module MLJBase with build ID ffffffff-ffff-ffff-0000-214cdaf2d5aa is missing from the cache.
│  │ This may mean MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module StatsBase with build ID ffffffff-ffff-ffff-0000-2154444d31e5 is missing from the cache.
│  │ This may mean StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module ScientificTypes with build ID ffffffff-ffff-ffff-0000-21518bd2b30b is missing from the cache.
│  │ This may mean ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module MLJBase with build ID ffffffff-ffff-ffff-0000-214cdaf2d5aa is missing from the cache.
│  │ This may mean MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ LatinHypercubeSampling [a5e1c1ea-c99a-51d3-a14d-a9a37257b02d]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ MLJIteration [614be32b-d00c-4edb-bd02-1eb411ab5e55]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-212fa6b7f9c3 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-213bec004d90 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ DistributionsChainRulesCoreExt [6db1f127-056a-568b-bd49-ae61d42389fa]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ CategoricalDistributions [af321ab8-2d2e-40a6-b165-3d674595d28e]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-21182a7a466a is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for SortingAlgorithms [a2af1166-a08f-5f64-846c-94a0d3cef48c]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ MLJTuning [03970b2e-30c4-11ea-3135-d1576263f10f]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-212f935e6173 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-213bdd3b4954 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: Module StatsBase with build ID ffffffff-ffff-ffff-0000-213c712f58d1 is missing from the cache.
│  │ This may mean StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-21229e91d3a7 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ FileIOExt [f5f51d8f-5827-5d2e-939b-192fcd6ec70c]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ MLJModels [d491faf4-2d78-11e9-2867-c94bc002c0b7]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-2122aa713f0f is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ MLJEnsembles [50ed68f4-41fd-4504-931a-ed422449fee0]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-212fb2153e07 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for MLJBase [a7f614a8-145f-11e9-1d2a-a57a1082229d]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: Module Distributions with build ID ffffffff-ffff-ffff-0000-213be1c906a0 is missing from the cache.
│  │ This may mean Distributions [31c24e10-a181-5473-b8eb-7969acd0382f] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1758
└
┌ ScientificTypes [321657f4-b219-11e9-178b-2701a2544e81]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Distributions [31c24e10-a181-5473-b8eb-7969acd0382f]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ DataFramesExt [9e668153-f473-5010-85ff-a85cbe3b95ea]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for SortingAlgorithms [a2af1166-a08f-5f64-846c-94a0d3cef48c]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for SortingAlgorithms [a2af1166-a08f-5f64-846c-94a0d3cef48c]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
└
┌ TextAnalysis [a2db99b7-8b79-58f8-94bf-bbc811eef33d]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783
│  WARNING: method definition for #CooMatrix#80 at C:\Users\jpotas\.julia\packages\TextAnalysis\B0QxG\src\coom.jl:148 declares type variable T but does not use it.
└
┌ MLUtils [f1d291b0-491e-4a28-83b9-f70985020b54]
│  ┌ Warning: The call to compilecache failed to create a usable precompiled cache file for StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91]
│  │   exception = Required dependency DataStructures [864edb3b-99cc-5e75-8d2d-829cb0a9cfe8] failed to load from a cache file.
│  └ @ Base loading.jl:1783

Why has this happened? Should I be using a different version of StatsBase or DataStructures? If so, which ?

Should correct DataStructures and StatsBase versions be pulled with the packages that depend on them? Why after installing it I still get the same errors?

Idea for the future: could julia multiple-dispatch packages for different versions, so you could have two versions of StatsBase and the right version is used by the packages that depend on them?

KristofferC commented 1 year ago

Maybe you encounter https://github.com/JuliaLang/Pkg.jl/issues/3443. You could try remove .julia/compiled/v1.9 and try again.

If you restart Julia, is there any issue when you try to load these packages?

Jorispilot commented 1 year ago

I have a similar problem on my Linux:

(@v1.9) pkg> status
Status `~/.julia/environments/v1.9/Project.toml` (empty project)

(@v1.9) pkg> add Arblib
   Resolving package versions...
    Updating `~/.julia/environments/v1.9/Project.toml`
  [fb37089c] + Arblib v0.8.1
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [fb37089c] + Arblib v0.8.1
  [ffbed154] + DocStringExtensions v0.9.3
  [92d709cd] + IrrationalConstants v0.2.2
  [692b3bcd] + JLLWrappers v1.4.1
  [2ab3a3ac] + LogExpFunctions v0.3.23
  [21216c6a] + Preferences v1.4.0
  [276daf66] + SpecialFunctions v2.2.0
  [d9960996] + Arb_jll v200.2300.0+0
  [e134572f] + FLINT_jll v200.900.5+0
⌅ [656ef2d0] + OpenBLAS32_jll v0.3.21+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.2+0
  [781609d7] + GMP_jll v6.2.1+2
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [3a97d323] + MPFR_jll v4.1.1+4
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [4536629a] + OpenBLAS_jll v0.3.21+4
  [05823500] + OpenLibm_jll v0.8.1+0
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850b90] + libblastrampoline_jll v5.7.0+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ◐ IrrationalConstants
  ◑ OpenLibm_jll
  ◑ GMP_jll
  ◐ MbedTLS_jll
  ◓ Zlib_jll
  ◒ DocStringExtensions
  ◒ Preferences
  ◓ JLLWrappers
  ◑ OpenSpecFun_jll
  ◑ OpenBLAS32_jll

(@v1.9) pkg> ┌ Error: Pkg.precompile error
│   exception = IOError: could not spawn setenv(`lld -flavor gnu '' -shared -o /home/jpicot/.julia/compiled/v1.9/GMP_jll/jl_WW1Wbi --whole-archive /home/jpicot/.julia/compiled/v1.9/GMP_jll/jl_meEOy2 --no-whole-archive -L/usr/lib -L/usr/lib/julia -L/usr/lib -ljulia -ljulia-internal`,["PATH=:/home/jpicot/bin:/home/jpicot/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin", "WAYLAND_DISPLAY=wayland-0", "LD_LIBRARY_PATH=/usr/lib/julia:/usr/lib", "LCLIMPORTDIR=/usr/share/splint/imports", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", "XDG_CURRENT_DESKTOP=GNOME", "LANG=en_US.UTF-8", "LOGNAME=jpicot", "XDG_SESSION_DESKTOP=gnome", "LC_MONETARY=fr_FR.UTF-8", "LARCH_PATH=/usr/share/splint/lib", "SHLVL=1", "SSH_AUTH_SOCK=/run/user/1001/keyring/ssh", "DESKTOP_SESSION=gnome", "GDM_LANG=en_US.UTF-8", "LC_PAPER=fr_FR.UTF-8", "XDG_RUNTIME_DIR=/run/user/1001", "JULIA_IMAGE_THREADS=1", "XDG_SESSION_TYPE=wayland", "SYSTEMD_EXEC_PID=5581", "DIFFPROG=nvim -d", "OPENBLAS_DEFAULT_NUM_THREADS=1", "LC_TIME=fr_FR.UTF-8", "QT_IM_MODULE=ibus", "LC_NUMERIC=fr_FR.UTF-8", "USER=jpicot", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/45a6e2e5_8a01_4160_a21d_216ac9ac6887", "LC_MEASUREMENT=fr_FR.UTF-8", "FZF_DEFAULT_OPTS= --color=bg+:#323537,bg:#1e1e1e,spinner:#afc4db,hl:#7587a6 --color=fg:#838184,header:#7587a6,info:#f9ee98,pointer:#afc4db --color=marker:#afc4db,fg+:#c3c3c3,prompt:#f9ee98,hl+:#7587a6", "PWD=/home/jpicot", "XDG_SESSION_CLASS=user", "USERNAME=jpicot", "DISPLAY=:0", "GDMSESSION=gnome", "XDG_DATA_DIRS=/home/jpicot/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/", "GNOME_TERMINAL_SERVICE=:1.201", "SHELL=/bin/bash", "GNOME_SETUP_DISPLAY=:1", "XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.HVSF41", "XDG_MENU_PREFIX=gnome-", "DEBUGINFOD_URLS=https://debuginfod.archlinux.org ", "MAIL=/var/spool/mail/jpicot", "MOTD_SHOWN=pam", "GTK_IM_MODULE=gtk-im-context-simple", "SESSION_MANAGER=local/limbe:@/tmp/.ICE-unix/5251,unix/limbe:/tmp/.ICE-unix/5251", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/jpicot", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "GNOME_KEYRING_CONTROL=/run/user/1001/keyring", "VTE_VERSION=7201"]): no such file or directory (ENOENT)
└ @ Pkg.API /usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289
┌ Error: Pkg.precompile error
│   exception = IOError: could not spawn setenv(`lld -flavor gnu '' -shared -o /home/jpicot/.julia/compiled/v1.9/OpenLibm_jll/jl_iuZz9o --whole-archive /home/jpicot/.julia/compiled/v1.9/OpenLibm_jll/jl_3SaoQ4 --no-whole-archive -L/usr/lib -L/usr/lib/julia -L/usr/lib -ljulia -ljulia-internal`,["PATH=:/home/jpicot/bin:/home/jpicot/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin", "WAYLAND_DISPLAY=wayland-0", "LD_LIBRARY_PATH=/usr/lib/julia:/usr/lib", "LCLIMPORTDIR=/usr/share/splint/imports", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", "XDG_CURRENT_DESKTOP=GNOME", "LANG=en_US.UTF-8", "LOGNAME=jpicot", "XDG_SESSION_DESKTOP=gnome", "LC_MONETARY=fr_FR.UTF-8", "LARCH_PATH=/usr/share/splint/lib", "SHLVL=1", "SSH_AUTH_SOCK=/run/user/1001/keyring/ssh", "DESKTOP_SESSION=gnome", "GDM_LANG=en_US.UTF-8", "LC_PAPER=fr_FR.UTF-8", "XDG_RUNTIME_DIR=/run/user/1001", "JULIA_IMAGE_THREADS=1", "XDG_SESSION_TYPE=wayland", "SYSTEMD_EXEC_PID=5581", "DIFFPROG=nvim -d", "OPENBLAS_DEFAULT_NUM_THREADS=1", "LC_TIME=fr_FR.UTF-8", "QT_IM_MODULE=ibus", "LC_NUMERIC=fr_FR.UTF-8", "USER=jpicot", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/45a6e2e5_8a01_4160_a21d_216ac9ac6887", "LC_MEASUREMENT=fr_FR.UTF-8", "FZF_DEFAULT_OPTS= --color=bg+:#323537,bg:#1e1e1e,spinner:#afc4db,hl:#7587a6 --color=fg:#838184,header:#7587a6,info:#f9ee98,pointer:#afc4db --color=marker:#afc4db,fg+:#c3c3c3,prompt:#f9ee98,hl+:#7587a6", "PWD=/home/jpicot", "XDG_SESSION_CLASS=user", "USERNAME=jpicot", "DISPLAY=:0", "GDMSESSION=gnome", "XDG_DATA_DIRS=/home/jpicot/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/", "GNOME_TERMINAL_SERVICE=:1.201", "SHELL=/bin/bash", "GNOME_SETUP_DISPLAY=:1", "XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.HVSF41", "XDG_MENU_PREFIX=gnome-", "DEBUGINFOD_URLS=https://debuginfod.archlinux.org ", "MAIL=/var/spool/mail/jpicot", "MOTD_SHOWN=pam", "GTK_IM_MODULE=gtk-im-context-simple", "SESSION_MANAGER=local/limbe:@/tmp/.ICE-unix/5251,unix/limbe:/tmp/.ICE-unix/5251", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/jpicot", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "GNOME_KEYRING_CONTROL=/run/user/1001/keyring", "VTE_VERSION=7201"]): no such file or directory (ENOENT)
└ @ Pkg.API /usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289
┌ Error: Pkg.precompile error
│   exception = IOError: could not spawn setenv(`lld -flavor gnu '' -shared -o /home/jpicot/.julia/compiled/v1.9/MbedTLS_jll/jl_E5ZreA --whole-archive /home/jpicot/.julia/compiled/v1.9/MbedTLS_jll/jl_6Nrzpq --no-whole-archive -L/usr/lib -L/usr/lib/julia -L/usr/lib -ljulia -ljulia-internal`,["PATH=:/home/jpicot/bin:/home/jpicot/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin", "WAYLAND_DISPLAY=wayland-0", "LD_LIBRARY_PATH=/usr/lib/julia:/usr/lib", "LCLIMPORTDIR=/usr/share/splint/imports", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", "XDG_CURRENT_DESKTOP=GNOME", "LANG=en_US.UTF-8", "LOGNAME=jpicot", "XDG_SESSION_DESKTOP=gnome", "LC_MONETARY=fr_FR.UTF-8", "LARCH_PATH=/usr/share/splint/lib", "SHLVL=1", "SSH_AUTH_SOCK=/run/user/1001/keyring/ssh", "DESKTOP_SESSION=gnome", "GDM_LANG=en_US.UTF-8", "LC_PAPER=fr_FR.UTF-8", "XDG_RUNTIME_DIR=/run/user/1001", "JULIA_IMAGE_THREADS=1", "XDG_SESSION_TYPE=wayland", "SYSTEMD_EXEC_PID=5581", "DIFFPROG=nvim -d", "OPENBLAS_DEFAULT_NUM_THREADS=1", "LC_TIME=fr_FR.UTF-8", "QT_IM_MODULE=ibus", "LC_NUMERIC=fr_FR.UTF-8", "USER=jpicot", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/45a6e2e5_8a01_4160_a21d_216ac9ac6887", "LC_MEASUREMENT=fr_FR.UTF-8", "FZF_DEFAULT_OPTS= --color=bg+:#323537,bg:#1e1e1e,spinner:#afc4db,hl:#7587a6 --color=fg:#838184,header:#7587a6,info:#f9ee98,pointer:#afc4db --color=marker:#afc4db,fg+:#c3c3c3,prompt:#f9ee98,hl+:#7587a6", "PWD=/home/jpicot", "XDG_SESSION_CLASS=user", "USERNAME=jpicot", "DISPLAY=:0", "GDMSESSION=gnome", "XDG_DATA_DIRS=/home/jpicot/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/", "GNOME_TERMINAL_SERVICE=:1.201", "SHELL=/bin/bash", "GNOME_SETUP_DISPLAY=:1", "XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.HVSF41", "XDG_MENU_PREFIX=gnome-", "DEBUGINFOD_URLS=https://debuginfod.archlinux.org ", "MAIL=/var/spool/mail/jpicot", "MOTD_SHOWN=pam", "GTK_IM_MODULE=gtk-im-context-simple", "SESSION_MANAGER=local/limbe:@/tmp/.ICE-unix/5251,unix/limbe:/tmp/.ICE-unix/5251", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/jpicot", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "GNOME_KEYRING_CONTROL=/run/user/1001/keyring", "VTE_VERSION=7201"]): no such file or directory (ENOENT)
└ @ Pkg.API /usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289
┌ Error: Pkg.precompile error
│   exception = IOError: could not spawn setenv(`lld -flavor gnu '' -shared -o /home/jpicot/.julia/compiled/v1.9/Zlib_jll/jl_hFTgbh --whole-archive /home/jpicot/.julia/compiled/v1.9/Zlib_jll/jl_jXIfoG --no-whole-archive -L/usr/lib -L/usr/lib/julia -L/usr/lib -ljulia -ljulia-internal`,["PATH=:/home/jpicot/bin:/home/jpicot/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin", "WAYLAND_DISPLAY=wayland-0", "LD_LIBRARY_PATH=/usr/lib/julia:/usr/lib", "LCLIMPORTDIR=/usr/share/splint/imports", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", "XDG_CURRENT_DESKTOP=GNOME", "LANG=en_US.UTF-8", "LOGNAME=jpicot", "XDG_SESSION_DESKTOP=gnome", "LC_MONETARY=fr_FR.UTF-8", "LARCH_PATH=/usr/share/splint/lib", "SHLVL=1", "SSH_AUTH_SOCK=/run/user/1001/keyring/ssh", "DESKTOP_SESSION=gnome", "GDM_LANG=en_US.UTF-8", "LC_PAPER=fr_FR.UTF-8", "XDG_RUNTIME_DIR=/run/user/1001", "JULIA_IMAGE_THREADS=1", "XDG_SESSION_TYPE=wayland", "SYSTEMD_EXEC_PID=5581", "DIFFPROG=nvim -d", "OPENBLAS_DEFAULT_NUM_THREADS=1", "LC_TIME=fr_FR.UTF-8", "QT_IM_MODULE=ibus", "LC_NUMERIC=fr_FR.UTF-8", "USER=jpicot", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/45a6e2e5_8a01_4160_a21d_216ac9ac6887", "LC_MEASUREMENT=fr_FR.UTF-8", "FZF_DEFAULT_OPTS= --color=bg+:#323537,bg:#1e1e1e,spinner:#afc4db,hl:#7587a6 --color=fg:#838184,header:#7587a6,info:#f9ee98,pointer:#afc4db --color=marker:#afc4db,fg+:#c3c3c3,prompt:#f9ee98,hl+:#7587a6", "PWD=/home/jpicot", "XDG_SESSION_CLASS=user", "USERNAME=jpicot", "DISPLAY=:0", "GDMSESSION=gnome", "XDG_DATA_DIRS=/home/jpicot/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/", "GNOME_TERMINAL_SERVICE=:1.201", "SHELL=/bin/bash", "GNOME_SETUP_DISPLAY=:1", "XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.HVSF41", "XDG_MENU_PREFIX=gnome-", "DEBUGINFOD_URLS=https://debuginfod.archlinux.org ", "MAIL=/var/spool/mail/jpicot", "MOTD_SHOWN=pam", "GTK_IM_MODULE=gtk-im-context-simple", "SESSION_MANAGER=local/limbe:@/tmp/.ICE-unix/5251,unix/limbe:/tmp/.ICE-unix/5251", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/jpicot", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "GNOME_KEYRING_CONTROL=/run/user/1001/keyring", "VTE_VERSION=7201"]): no such file or directory (ENOENT)
└ @ Pkg.API /usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289
┌ Error: Pkg.precompile error
│   exception = IOError: could not spawn setenv(`lld -flavor gnu '' -shared -o /home/jpicot/.julia/compiled/v1.9/IrrationalConstants/jl_pIHkYt --whole-archive /home/jpicot/.julia/compiled/v1.9/IrrationalConstants/jl_7a8OjA --no-whole-archive -L/usr/lib -L/usr/lib/julia -L/usr/lib -ljulia -ljulia-internal`,["PATH=:/home/jpicot/bin:/home/jpicot/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin", "WAYLAND_DISPLAY=wayland-0", "LD_LIBRARY_PATH=/usr/lib/julia:/usr/lib", "LCLIMPORTDIR=/usr/share/splint/imports", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", "XDG_CURRENT_DESKTOP=GNOME", "LANG=en_US.UTF-8", "LOGNAME=jpicot", "XDG_SESSION_DESKTOP=gnome", "LC_MONETARY=fr_FR.UTF-8", "LARCH_PATH=/usr/share/splint/lib", "SHLVL=1", "SSH_AUTH_SOCK=/run/user/1001/keyring/ssh", "DESKTOP_SESSION=gnome", "GDM_LANG=en_US.UTF-8", "LC_PAPER=fr_FR.UTF-8", "XDG_RUNTIME_DIR=/run/user/1001", "JULIA_IMAGE_THREADS=1", "XDG_SESSION_TYPE=wayland", "SYSTEMD_EXEC_PID=5581", "DIFFPROG=nvim -d", "OPENBLAS_DEFAULT_NUM_THREADS=1", "LC_TIME=fr_FR.UTF-8", "QT_IM_MODULE=ibus", "LC_NUMERIC=fr_FR.UTF-8", "USER=jpicot", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/45a6e2e5_8a01_4160_a21d_216ac9ac6887", "LC_MEASUREMENT=fr_FR.UTF-8", "FZF_DEFAULT_OPTS= --color=bg+:#323537,bg:#1e1e1e,spinner:#afc4db,hl:#7587a6 --color=fg:#838184,header:#7587a6,info:#f9ee98,pointer:#afc4db --color=marker:#afc4db,fg+:#c3c3c3,prompt:#f9ee98,hl+:#7587a6", "PWD=/home/jpicot", "XDG_SESSION_CLASS=user", "USERNAME=jpicot", "DISPLAY=:0", "GDMSESSION=gnome", "XDG_DATA_DIRS=/home/jpicot/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/", "GNOME_TERMINAL_SERVICE=:1.201", "SHELL=/bin/bash", "GNOME_SETUP_DISPLAY=:1", "XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.HVSF41", "XDG_MENU_PREFIX=gnome-", "DEBUGINFOD_URLS=https://debuginfod.archlinux.org ", "MAIL=/var/spool/mail/jpicot", "MOTD_SHOWN=pam", "GTK_IM_MODULE=gtk-im-context-simple", "SESSION_MANAGER=local/limbe:@/tmp/.ICE-unix/5251,unix/limbe:/tmp/.ICE-unix/5251", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/jpicot", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "GNOME_KEYRING_CONTROL=/run/user/1001/keyring", "VTE_VERSION=7201"]): no such file or directory (ENOENT)
└ @ Pkg.API /usr/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289

The problem persists even if I remove both .julia/environment/v1.9 and .julia/compiled/v1.9.

I use archlinux with the Julia package and:

julia> versioninfo()
Julia Version 1.9.0
Commit 8e63055292* (2023-05-07 11:25 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: 4 × Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
  Threads: 1 on 4 virtual cores
giordano commented 1 year ago

I use archlinux with the Julia package

Don't. Use juliaup instead.

vchuravy commented 1 year ago

Please file a bug report with Arch Linux

vchuravy commented 1 year ago

We should look at what we can do to make this more robust on our side. I am not going to make this a priority, but if someone from the Arch community wants to pitch in a PR would be most appreciated.

mlkrock commented 1 year ago

Having similar problems, can't install any packages e.g. ProgressMeter, and deleting v1.9 compiled and environment didn't help.

(@v1.9) pkg> status
Status `~/.julia/environments/v1.9/Project.toml` (empty project)

julia> versioninfo()
Julia Version 1.9.0
Commit 8e630552924 (2023-05-07 11:25 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 12 × Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
  Threads: 1 on 12 virtual cores

(@v1.9) pkg> add ProgressMeter
   Resolving package versions...
    Updating `~/.julia/environments/v1.9/Project.toml`
  [92933f4c] + ProgressMeter v1.7.2
    Updating `~/.julia/environments/v1.9/Manifest.toml`
  [92933f4c] + ProgressMeter v1.7.2
  [8ba89e20] + Distributed
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [4ec0a83e] + Unicode
Precompiling project...
  Progress [>                                        ]  0/1
  ◒ ProgressMeter
dyld: Library not loaded: @rpath/libLLVM.dylib
  Referenced from: /Applications/Julia-1.9.app/Contents/Resources/julia/libexec/  ◓ ProgressMeter

┌ Error: Pkg.precompile error
│   exception =
│    failed process: Process(setenv(`/Applications/Julia-1.9.app/Contents/Resources/julia/libexec/julia/lld -flavor darwin -arch x86_64 -undefined dynamic_lookup -platform_version macos 13.3.1 13.3 '' -dylib -o /Users/mitchell/.julia/compiled/v1.9/ProgressMeter/jl_kytXjM -all_load /Users/mitchell/.julia/compiled/v1.9/ProgressMeter/jl_HimjII '' -L/Applications/Julia-1.9.app/Contents/Resources/julia/lib -L/Applications/Julia-1.9.app/Contents/Resources/julia/lib/julia -L/Applications/Julia-1.9.app/Contents/Resources/julia/lib -ljulia -ljulia-internal`,["XPC_FLAGS=0x0", "_CE_M=", "PATH=/Applications/Julia-1.9.app/Contents/Resources/julia/libexec/julia:/opt/anaconda3/bin:/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin", "CONDA_PROMPT_MODIFIER=(base) ", "PWD=/Users/mitchell", "DISPLAY=/private/tmp/com.apple.launchd.nie3UKILnC/org.macosforge.xquartz:0", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=Apple_Terminal", "CONDA_PYTHON_EXE=/opt/anaconda3/bin/python", "SHELL=/bin/bash"  …  "Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.FHismkQz2Y/Render", "_CE_CONDA=", "USER=mitchell", "CONDA_SHLVL=1", "SECURITYSESSIONID=186a8", "CONDA_EXE=/opt/anaconda3/bin/conda", "TERM=xterm-256color", "HOME=/Users/mitchell", "TERM_PROGRAM_VERSION=421.2", "OPENBLAS_MAIN_FREE=1"]), ProcessSignaled(6)) [0]
│    
│    Stacktrace:
│      [1] pipeline_error
│        @ ./process.jl:565 [inlined]
│      [2] run(::Cmd, ::Base.DevNull, ::Vararg{Any}; wait::Bool)
│        @ Base ./process.jl:480
│      [3] run
│        @ ./process.jl:477 [inlined]
│      [4] link_image (repeats 2 times)
│        @ ./linking.jl:166 [inlined]
│      [5] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
│        @ Base ./loading.jl:2166
│      [6] #249
│        @ /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1425 [inlined]
│      [7] withenv(f::Pkg.API.var"#249#280"{IOBuffer, String, Base.PkgId}, keyvals::Pair{String, String})
│        @ Base ./env.jl:197
│      [8] (::Pkg.API.var"#248#279"{IOBuffer, String, Base.PkgId})()
│        @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1423
│      [9] with_logstate(f::Function, logstate::Any)
│        @ Base.CoreLogging ./logging.jl:514
│     [10] with_logger
│        @ ./logging.jl:626 [inlined]
│     [11] macro expansion
│        @ ./timing.jl:393 [inlined]
│     [12] macro expansion
│        @ /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1421 [inlined]
│     [13] (::Pkg.API.var"#245#276"{Bool, Bool, Pkg.Types.Context, Vector{Task}, Dict{Base.PkgId, String}, Dict{Base.PkgId, IOBuffer}, Pkg.API.var"#color_string#266", Base.Event, Base.Event, ReentrantLock, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Base.Event}, Dict{Base.PkgId, Bool}, Vector{Pkg.Types.PackageSpec}, Dict{Base.PkgId, String}, Dict{Tuple{Base.PkgId, UInt128, String, String}, Bool}, Vector{Base.PkgId}, Bool, Base.TTY, Base.Semaphore, String, Vector{String}, Vector{Base.PkgId}, Base.PkgId})()
│        @ Pkg.API ./task.jl:514
└ @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1289
giordano commented 1 year ago

How did you install Julia?

mlkrock commented 1 year ago

@giordano it was from julialang (https://julialang-s3.julialang.org/bin/mac/x64/1.9/julia-1.9.0-mac64.dmg)

potaslab commented 1 year ago

Maybe you encounter JuliaLang/Pkg.jl#3443. You could try remove .julia/compiled/v1.9 and try again.

If you restart Julia, is there any issue when you try to load these packages?

I deleted \.julia\environments and \.julia\compiled\v1.9. Then I added Plots as a test, which worked fine, then I added my list of packages.

I have other dependency issues (this seems carried over from v1.8.5).

I got the code running without errors, but my plots aren't coming up, they are blank windows in VScode, even though it opens. When I plot from a REPL outside VScode, it works (although I had a firewall issue for the plotlyjs() backend.

With regards to getting the packages to load, other than the plotting failures, the rest seems fine.

Thanks for all your hard work.

Jorispilot commented 1 year ago

I have just tested juliaup, and the bug does not appear with 1.9. (I was actually looking for a way to work with different version of Julia in Arch :-) Thanks)