MicroMamba is not currently supported on your platform (FreeBSD)

ko56
Thu, 16 Jan 2025 00:42:14 +0000
General Usage

I’m trying to install PythonPlot in Julia v1.11, on FreeBSD 14.2.
CondaPkg and MicroMamba are giving me a problem which I don’t know how to resolve.

The error report from build PythonPlot follows:

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

PythonPlot

Failed to precompile PythonPlot [274fc56d-3b97-40fa-a1cd-1b4a50311bf9] to "/home/ko/.julia/compiled/v1.11/PythonPlot/jl_E6Zmsq".
    CondaPkg Found dependencies: /home/ko/.julia/packages/PythonCall/Nr75f/CondaPkg.toml
    CondaPkg Found dependencies: /home/ko/.julia/packages/PythonPlot/469aA/CondaPkg.toml
    CondaPkg Resolving changes
             + matplotlib
             + python
ERROR: LoadError: InitError: MicroMamba is not currently supported on your platform
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] executable(; io::IO)
    @ MicroMamba ~/.julia/packages/MicroMamba/L5taG/src/MicroMamba.jl:31
  [3] cmd(; io::IO)
    @ MicroMamba ~/.julia/packages/MicroMamba/L5taG/src/MicroMamba.jl:89
  [4] cmd(args::Any; io::IO)
    @ MicroMamba ~/.julia/packages/MicroMamba/L5taG/src/MicroMamba.jl:93
  [5] conda_cmd(args::Any; io::IO)
    @ CondaPkg ~/.julia/packages/CondaPkg/TqxCd/src/backend.jl:40
  [6] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any; create::Any
)
    @ CondaPkg ~/.julia/packages/CondaPkg/TqxCd/src/resolve.jl:389
  [7] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
    @ CondaPkg ~/.julia/packages/CondaPkg/TqxCd/src/resolve.jl:719
  [8] resolve()
    @ CondaPkg ~/.julia/packages/CondaPkg/TqxCd/src/resolve.jl:528
  [9] envdir()
    @ CondaPkg ~/.julia/packages/CondaPkg/TqxCd/src/env.jl:70
 [10] init_context()
    @ PythonCall.C ~/.julia/packages/PythonCall/Nr75f/src/C/context.jl:63
 [11] __init__()
    @ PythonCall.C ~/.julia/packages/PythonCall/Nr75f/src/C/C.jl:23
 [12] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1378
 [13] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1366
 [14] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
    @ Base ./loading.jl:1254
 [15] _include_from_serialized (repeats 2 times)
    @ ./loading.jl:1210 [inlined]
 [16] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
    @ Base ./loading.jl:2057
 [17] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2527
 [18] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2388
 [19] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [20] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [21] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2375
 [22] macro expansion
    @ ./loading.jl:2314 [inlined]
 [23] macro expansion
    @ ./lock.jl:273 [inlined]
 [24] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2271
 [25] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [26] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [27] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2260
 [28] include
    @ ./Base.jl:557 [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:2881
 [30] top-level scope
    @ stdin:6
during initialization of module C
in expression starting at /home/ko/.julia/packages/PythonPlot/469aA/src/PythonPlot.jl:2
in expression starting at stdin:

3 posts - 2 participants