Open potaslab opened 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?
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
I use archlinux with the Julia package
Please file a bug report with Arch Linux
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.
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
How did you install Julia?
@giordano it was from julialang (https://julialang-s3.julialang.org/bin/mac/x64/1.9/julia-1.9.0-mac64.dmg)
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.
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)
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
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:
My current version
Errors as follows, even after adding/using DataStructures and StatsBase:
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?