Thx for Your respons.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.2 (2024-03-01)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Pkg
julia> Pkg.status(["GR", "GR_jll", "Plots", "Qt6Base_jll"], mode = Pkg.PKGMODE_MANIFEST)
Status `C:\Users\PC\.julia\environments\v1.10\Manifest.toml`
[28b8d3ca] GR v0.73.3
[91a5bcdd] Plots v1.40.2
[d2c73de3] GR_jll v0.73.3+0
^ [c0090381] Qt6Base_jll v6.5.2+2
Info Packages marked with ^ have new versions available and may be upgradable.
julia> using Pkg
julia> Pkg.activate("plotstest", shared=true)
Activating project at `C:\Users\PC\.julia\environments\plotstest`
julia> Pkg.add("Plots")
Resolving package versions...
No Changes to `C:\Users\PC\.julia\environments\plotstest\Project.toml`
No Changes to `C:\Users\PC\.julia\environments\plotstest\Manifest.toml`
julia> using Plots
Precompiling Plots
Info Given Plots was explicitly requested, output will be shown live
ERROR: LoadError: InitError: UndefVarError: `GR_jll` not defined
Stacktrace:
[1] __init__()
@ GR.GRPreferences C:\Users\PC\.julia\packages\GR\SdanO\src\preferences.jl:64
[2] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1134
[3] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1122
[4] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base .\loading.jl:1067
[5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base .\loading.jl:1581
[6] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1938
[7] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[8] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[9] invoke_in_world
@ .\essentials.jl:923 [inlined]
[10] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[11] macro expansion
@ .\loading.jl:1790 [inlined]
[12] macro expansion
@ .\lock.jl:267 [inlined]
[13] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[14] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[15] invoke_in_world
@ .\essentials.jl:923 [inlined]
[16] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
[17] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:380
[18] eval
@ .\boot.jl:385 [inlined]
[19] _initialize_backend(pkg::Plots.GRBackend)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:379
[20] backend(pkg::Plots.GRBackend)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:244
[21] backend(sym::Symbol)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:254
[22] load_default_backend()
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:201
[23] backend()
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:232
[24] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\init.jl:91
[25] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[26] include(x::String)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:1
[27] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:176
[28] include
@ .\Base.jl:495 [inlined]
[29] 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:2222
[30] top-level scope
@ stdin:3
during initialization of module GRPreferences
in expression starting at C:\Users\PC\.julia\packages\Plots\a3u1v\src\init.jl:91
in expression starting at C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:1
in expression starting at stdin:3
? GR_jll
? Plots
? Plots → UnitfulExt
0 dependencies successfully precompiled in 34 seconds. 145 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\\PC\\.julia\\compiled\\v1.10\\Plots\\jl_9722.tmp".
ERROR: LoadError: InitError: UndefVarError: `GR_jll` not defined
Stacktrace:
[1] __init__()
@ GR.GRPreferences C:\Users\PC\.julia\packages\GR\SdanO\src\preferences.jl:64
[2] run_module_init(mod::Module, i::Int64)
@ Base .\loading.jl:1134
[3] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1122
[4] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base .\loading.jl:1067
[5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base .\loading.jl:1581
[6] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1938
[7] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[8] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[9] invoke_in_world
@ .\essentials.jl:923 [inlined]
[10] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[11] macro expansion
@ .\loading.jl:1790 [inlined]
[12] macro expansion
@ .\lock.jl:267 [inlined]
[13] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[14] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[15] invoke_in_world
@ .\essentials.jl:923 [inlined]
[16] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
[17] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:380
[18] eval
@ .\boot.jl:385 [inlined]
[19] _initialize_backend(pkg::Plots.GRBackend)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:379
[20] backend(pkg::Plots.GRBackend)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:244
[21] backend(sym::Symbol)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:254
[22] load_default_backend()
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:201
[23] backend()
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\backends.jl:232
[24] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\init.jl:91
[25] include(mod::Module, _path::String)
@ Base .\Base.jl:495
[26] include(x::String)
@ Plots C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:1
[27] top-level scope
@ C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:176
[28] include
@ .\Base.jl:495 [inlined]
[29] 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:2222
[30] top-level scope
@ stdin:3
during initialization of module GRPreferences
in expression starting at C:\Users\PC\.julia\packages\Plots\a3u1v\src\init.jl:91
in expression starting at C:\Users\PC\.julia\packages\Plots\a3u1v\src\Plots.jl:1
in expression starting at stdin:
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\Users\PC\AppData\Local\Programs\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\Types.jl:70
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{io::Base.TTY})
@ Pkg.API C:\Users\PC\AppData\Local\Programs\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\API.jl:1659
[3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
@ Pkg.API C:\Users\PC\AppData\Local\Programs\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
[4] precompile
@ C:\Users\PC\AppData\Local\Programs\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
[5] #precompile#114
@ C:\Users\PC\AppData\Local\Programs\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]
[6] #invokelatest#2
@ .\essentials.jl:894 [inlined]
[7] invokelatest
@ .\essentials.jl:889 [inlined]
[8] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1963
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[10] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[11] invoke_in_world
@ .\essentials.jl:923 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[13] macro expansion
@ .\loading.jl:1790 [inlined]
[14] macro expansion
@ .\lock.jl:267 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[16] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[17] invoke_in_world
@ .\essentials.jl:923 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
julia> plot(1:5)
ERROR: UndefVarError: `plot` not defined
Stacktrace:
[1] top-level scope
@ REPL[7]:1
julia>
Paul