Given up installing any plotting packages

I have given up attempting to install any plotting packages, under any version of Julia. I have tried a variety, including Plots, Makie, GLMakie, Gaston, Unicode, etc. etc. I always get the same error: “Access Denied”. Other posts on this problem are of no help. I have tried installing on both my C: drive as well as network drive, with the same result. I have tried using a zipfile, I have tried completely removing Julia and reinstalling. All have been to no avail.

This problem is of “relatively” recent vintage. I had been able to install packages with no problems until a few weeks ago. Below is an MWE I tried installing Plots

I would like to use Julia, but currently I cannot. If anyone can help, it would be most appreciated.


               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0 (2023-12-25)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.10) pkg> add Plots
   Resolving package versions...
  No Changes to `C:\Users\vhaglasmithdi\.julia\environments\v1.10\Project.toml`
  No Changes to `C:\Users\vhaglasmithdi\.julia\environments\v1.10\Manifest.toml`


julia> using Plots
Precompiling Plots
        Info Given Plots was explicitly requested, output will be shown live
ERROR: LoadError: InitError: could not load library "C:\Users\vhaglasmithdi\.julia\artifacts\1b573c0aaf4a3a73f296a61c2cacbee17ac0d4e3\bin\libfdk-aac-2.dll"
Access is denied.
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:116
  [3] macro expansion
    @ C:\Users\vhaglasmithdi\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
  [4] __init__()
    @ libfdk_aac_jll C:\Users\vhaglasmithdi\.julia\packages\libfdk_aac_jll\kXZGf\src\wrappers\x86_64-w64-mingw32.jl:8
  [5] run_module_init(mod::Module, i::Int64)
    @ Base .\loading.jl:1128
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1116
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base .\loading.jl:1061
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base .\loading.jl:1575
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1932
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [11] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [12] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [14] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [15] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [17] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [18] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [20] include(mod::Module, _path::String)
    @ Base .\Base.jl:495
 [21] top-level scope
    @ C:\Users\vhaglasmithdi\.julia\packages\JLLWrappers\pG9bm\src\toplevel_generators.jl:192
 [22] include
    @ Base .\Base.jl:495 [inlined]
 [23] 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, UInt128}}, source::String)
    @ Base .\loading.jl:2216
 [24] top-level scope
    @ stdin:3
during initialization of module libfdk_aac_jll
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG_jll\wpaSV\src\wrappers\x86_64-w64-mingw32.jl:5
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG_jll\wpaSV\src\FFMPEG_jll.jl:2
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab43fb4e5] to "C:\\Users\\vhaglasmithdi\\.julia\\compiled\\v1.10\\FFMPEG_jll\\jl_C25F.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2462
  [3] compilecache
    @ Base .\loading.jl:2334 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base .\loading.jl:1968
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
  [6] #mkpidlock#6
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
  [8] #invokelatest#2
    @ Base .\essentials.jl:889 [inlined]
  [9] invokelatest
    @ Base .\essentials.jl:884 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:2977
 [11] maybe_cachefile_lock
    @ Base .\loading.jl:2974 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1964
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [14] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [15] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [17] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [18] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [20] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [21] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [23] include
    @ Base .\Base.jl:495 [inlined]
 [24] 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, UInt128}}, source::String)
    @ Base .\loading.jl:2216
 [25] top-level scope
    @ stdin:3
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG\OUpap\src\FFMPEG.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to "C:\\Users\\vhaglasmithdi\\.julia\\compiled\\v1.10\\FFMPEG\\jl_8287.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2462
  [3] compilecache
    @ Base .\loading.jl:2334 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base .\loading.jl:1968
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93Libtiff_jll
  [6] #mkpidlock#6
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
  [8] #invokelatest#2
    @ Base .\essentials.jl:889 [inlined]
  [9] invokelatest
    @ Base .\essentials.jl:884 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:2977
 [11] maybe_cachefile_lock
    @ Base .\loading.jl:2974 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1964
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [14] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [15] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [17] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [18] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [20] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [21] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [23] include(mod::Module, _path::String)
    @ Base .\Base.jl:495
 [24] include(x::String)
    @ Plots C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:1
 [25] top-level scope
    @ C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:168
 [26] include
    @ Base .\Base.jl:495 [inlined]
 [27] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2216
 [28] top-level scope
    @ stdin:3
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\animation.jl:1
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:1
in expression starting at stdin:3
  ✗ Libtiff_jll
  ✗ FFMPEG_jll
  ✗ FFMPEG
  ✗ GR_jll
  ✗ Plots
  0 dependencies successfully precompiled in 198 seconds. 151 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to "C:\\Users\\vhaglasmithdi\\.julia\\compiled\\v1.10\\Plots\\jl_161E.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\vhaglasmithdi\.julia\artifacts\1b573c0aaf4a3a73f296a61c2cacbee17ac0d4e3\bin\libfdk-aac-2.dll"
Access is denied.
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:116
  [3] macro expansion
    @ C:\Users\vhaglasmithdi\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
  [4] __init__()
    @ libfdk_aac_jll C:\Users\vhaglasmithdi\.julia\packages\libfdk_aac_jll\kXZGf\src\wrappers\x86_64-w64-mingw32.jl:8
  [5] run_module_init(mod::Module, i::Int64)
    @ Base .\loading.jl:1128
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1116
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base .\loading.jl:1061
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base .\loading.jl:1575
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1932
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [11] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [12] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [14] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [15] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [17] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [18] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [20] include(mod::Module, _path::String)
    @ Base .\Base.jl:495
 [21] top-level scope
    @ C:\Users\vhaglasmithdi\.julia\packages\JLLWrappers\pG9bm\src\toplevel_generators.jl:192
 [22] include
    @ Base .\Base.jl:495 [inlined]
 [23] 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, UInt128}}, source::String)
    @ Base .\loading.jl:2216
 [24] top-level scope
    @ stdin:3
during initialization of module libfdk_aac_jll
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG_jll\wpaSV\src\wrappers\x86_64-w64-mingw32.jl:5
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG_jll\wpaSV\src\FFMPEG_jll.jl:2
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile FFMPEG_jll [b22a6f82-2f65-5046-a5b2-351ab43fb4e5] to "C:\\Users\\vhaglasmithdi\\.julia\\compiled\\v1.10\\FFMPEG_jll\\jl_C25F.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2462
  [3] compilecache
    @ Base .\loading.jl:2334 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base .\loading.jl:1968
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
  [6] #mkpidlock#6
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
  [8] #invokelatest#2
    @ Base .\essentials.jl:889 [inlined]
  [9] invokelatest
    @ Base .\essentials.jl:884 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:2977
 [11] maybe_cachefile_lock
    @ Base .\loading.jl:2974 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1964
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [14] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [15] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [17] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [18] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [20] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [21] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [23] include
    @ Base .\Base.jl:495 [inlined]
 [24] 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, UInt128}}, source::String)
    @ Base .\loading.jl:2216
 [25] top-level scope
    @ stdin:3
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\FFMPEG\OUpap\src\FFMPEG.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to "C:\\Users\\vhaglasmithdi\\.julia\\compiled\\v1.10\\FFMPEG\\jl_8287.tmp".
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2462
  [3] compilecache
    @ Base .\loading.jl:2334 [inlined]
  [4] (::Base.var"#968#969"{Base.PkgId})()
    @ Base .\loading.jl:1968
  [5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
  [6] #mkpidlock#6
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
  [7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
    @ FileWatching.Pidfile R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
  [8] #invokelatest#2
    @ Base .\essentials.jl:889 [inlined]
  [9] invokelatest
    @ Base .\essentials.jl:884 [inlined]
 [10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
    @ Base .\loading.jl:2977
 [11] maybe_cachefile_lock
    @ Base .\loading.jl:2974 [inlined]
 [12] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1964
 [13] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [14] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [15] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [16] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [17] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [18] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [19] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [20] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [21] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [22] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [23] include(mod::Module, _path::String)
    @ Base .\Base.jl:495
 [24] include(x::String)
    @ Plots C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:1
 [25] top-level scope
    @ C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:168
 [26] include
    @ Base .\Base.jl:495 [inlined]
 [27] 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, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2216
 [28] top-level scope
    @ stdin:3
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\animation.jl:1
in expression starting at C:\Users\vhaglasmithdi\.julia\packages\Plots\HyyIK\src\Plots.jl:1
in expression starting at stdin:
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\Types.jl:70
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{…})
    @ Pkg.API R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:1656
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
  [4] precompile
    @ Pkg.API R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
  [5] #precompile#114
    @ Pkg.API R:\RES_Research\davidsfolder\Julia-1.10.0\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]
  [6] #invokelatest#2
  [7] invokelatest
    @ Base .\essentials.jl:884 [inlined]
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1957
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [10] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [11] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [13] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [14] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [16] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [17] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
Some type information was truncated. Use `show(err)` to see complete types.

The quickest suggestion is to upgrade to 1.10.1. One of the changes from 1.10.0 is related to managing artifacts on Windows and perhaps is related do your issue.

1 Like

This means that a symbol or a dependency of libfdk-aac-2.dll could not be loaded. Unfortunately, Windows doesn’t bother to be more specific.

1 Like

Not a Windows user, but in looking through your error message, the problem seems to involve this library: libfdk-aac-2.dll

Do you have new security settings on your machine? A new malware or virus detection app? Or did an admin uses change system security policies?

Some possibly relevant links:

  • Search this for “Access denied.”

This is often caused by incorrect security settings in either the writer or requestor process

  • This suggests that the dll has an unknown MD5 and could be flagged as malware.
1 Like

I have that dll too and it has no dependencies other system ones, so a dependency conflict is not the case here.
Try to reboot your machine.

Dear Joaquim:

Other users on this issue have mentioned rebooting their machine. Do not really want to (laziness?:unamused:) , but I may have no alternative. “Unfortunately, Windows doesn’t bother to be more specific.” Darn Windows.

~WRD0001.jpg

I know it was me who advanced that but in this case I don’t think that is right. As I said after, that dll has no external dependencies, so it doesn’t seem to be a symbols conflict. I also hate the “reboot” solution but sometimes …

1 Like

Rebooted. Same problems.

~WRD0001.jpg

I would try deleting your C:\Users\vhaglasmithdi\.julia directory and try reinstalling your packages.

3 Likes

I’ve seen a similar ptoblem for a student before, in that case, manually giving the current user execution permission for the problematic dll files worked.
But it was needed to do for several files before adding plots went through…

2 Likes

The issue is

I agree with Knut, manually changing permissions should work. Also I’ve lately found deleting the file (rather than the whole .Julia folder) to work, which causes the artifact to be reinstalled.

4 Likes

My recommendation is to install the linux subsystem for windows.

After this you can install julia into your new ubuntu subsystem. This makes a lot of headaches associated with microsoft inanities go away.

3 Likes

An accessibility suggestion: try to make your hyperlinks longer than this, it’s easier to click a link that is a number (>1) of words long, plus it gives you an opportunity to expand on what they lead to. Discourse even does this automatically if you just paste the url raw.

1 Like

He will still have another issue with gpu for Makie and others but yeah plots would work

1 Like

You could go to the artefact right click properties security and check all the permissions same for the folder artefacts and the one before, you also could try lunching your cmd as an administrator and launch Julia here and try

2 Likes

Unfortunately, Matt, the subject computer is at work, administrative privileges are required to install WSL, and we lowly workers here do not have those.

Yikes. That definitely limits what you can do. I suppose you can always ask to install WSL. It is in the microsoft store I think, so it’s “official”.

1 Like

WSL is not a panacea. You’d get lots of headaches with file permissions if accessing them from both pure Win and the WSL side.

1 Like

Per @lmiq’s suggestion, I installed 1.10.1. No cigar. Worse outcome. I will install future stable versions of Julia as they become available. Perhaps someday this problem will be solved. However, as things stand, I have no option but to turn to other software for plotting purposes. This is only occurring on my office machine; everything is find on my home machine (both Windows 10)

1 Like

Have you tried this?

1 Like