NREL / PRAS

NREL's Probabilistic Resource Adequacy Suite (PRAS)
https://www.nrel.gov/analysis/pras.html
Other
46 stars 11 forks source link

Trying to install PRAS, running into "Package PRAS not found", "ERROR: cannot find name corresponding to UUID 4138dd39-2aa7-5051-a626-17a0bb65d9c8 in a registry" #40

Closed glarange closed 1 year ago

glarange commented 1 year ago

julia> using PRAS │ Package PRAS not found, but a package named PRAS is available from a registry. │ Install package? │ (@v1.8) pkg> add PRAS └ (y/n/o) [y]: y Resolving package versions... ERROR: cannot find name corresponding to UUID 4138dd39-2aa7-5051-a626-17a0bb65d9c8 in a registry Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Types.jl:67 [2] deps_graph(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, uuid_to_name::Dict{Base.UUID, String}, reqs::Dict{Base.UUID, Pkg.Versions.VersionSpec}, fixed::Dict{Base.UUID, Pkg.Resolve.Fixed}, julia_version::VersionNumber) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:488 [3] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:351 [4] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1254 [5] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1225 [6] _resolve(io::Base.TTY, env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1260 [7] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform) @ Pkg.Operations C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1276 [8] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}}) @ Pkg.API C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\API.jl:275 [9] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Pkg.API C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\API.jl:156 [10] add(pkgs::Vector{Pkg.Types.PackageSpec}) @ Pkg.API C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\API.jl:145 [11] #add#27 @ C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\API.jl:144 [inlined] [12] add @ C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\API.jl:144 [inlined] [13] try_prompt_pkg_add(pkgs::Vector{Symbol}) @ Pkg.REPLMode C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\Pkg\src\REPLMode\REPLMode.jl:717 [14] #invokelatest#2 @ .\essentials.jl:729 [inlined] [15] invokelatest @ .\essentials.jl:726 [inlined] [16] check_for_missing_packages_and_run_hooks(ast::Any) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:176 [17] eval_user_input(ast::Any, backend::REPL.REPLBackend) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:146 [18] repl_backend_loop(backend::REPL.REPLBackend) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:247 [19] start_repl_backend(backend::REPL.REPLBackend, consumer::Any) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:232 [20] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:369 [21] run_repl(repl::REPL.AbstractREPL, consumer::Any) @ REPL C:\Users\glara\AppData\Local\Programs\Julia-1.8.5\share\julia\stdlib\v1.8\REPL\src\REPL.jl:355 [22] (::Base.var"#967#969"{Bool, Bool, Bool})(REPL::Module) @ Base .\client.jl:419 [23] #invokelatest#2 @ .\essentials.jl:729 [inlined] [24] invokelatest @ .\essentials.jl:726 [inlined] [25] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool) @ Base .\client.jl:404 [26] exec_options(opts::Base.JLOptions) @ Base .\client.jl:318 [27] _start() @ Base .\client.jl:522

julia> using PRAS │ Package PRAS not found, but a package named PRAS is available from a registry. │ Install package? │ (@v1.8) pkg> add PRAS └ (y/n/o) [y]:n

(@v1.8) pkg> add PRAS Resolving package versions... ERROR: cannot find name corresponding to UUID 4138dd39-2aa7-5051-a626-17a0bb65d9c8 in a registry