I am getting error
~ julia Fluxes.jl ✔
CondaPkg Found dependencies: /home/raman/.julia/environments/v1.10/CondaPkg.toml
CondaPkg Found dependencies: /home/raman/.julia/packages/PythonCall/S5MOg/CondaPkg.toml
CondaPkg Resolving changes
+ build (pip)
+ pip
+ pyexec
CondaPkg Installing packages
│ /home/raman/.julia/artifacts/7973f2c7725e2d0eef7a95159454c4145f0945a2/bin/micromamba
│ -r /home/raman/micromamba
│ install
│ -y
│ -p /home/raman/.julia/environments/v1.10/.CondaPkg/env
│ --override-channels
│ --no-channel-priority
│ libstdcxx-ng[version='>=3.4,<13.0']
│ pip[version='>=22.0.0']
│ pyexec[version='*']
│ python[version='>=3.8,<4',channel='conda-forge',build='*cpython*']
└ -c conda-forge
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
error libmamba Could not solve for environment specs
The following package could not be installed
└─ pyexec * does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
ERROR: LoadError: InitError: failed process: Process(`/home/raman/.julia/artifacts/7973f2c7725e2d0eef7a95159454c4145f0945a2/bin/micromamba -r /home/raman/micromamba install -y -p /home/raman/.julia/environments/v1.10/.CondaPkg/env --override-channels --no-channel-priority "libstdcxx-ng[version='>=3.4,<13.0']" "pip[version='>=22.0.0']" "pyexec[version='*']" "python[version='>=3.8,<4',channel='conda-forge',build='*cpython*']" -c conda-forge`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:480
[3] run(::Cmd)
@ Base ./process.jl:477
[4] _run(io::IO, cmd::Cmd, args::Any; flags::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:398
[5] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any; create::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:299
[6] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:287
[7] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:525
[8] resolve()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:405
[9] envdir()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:70
[10] init_context()
@ PythonCall.C ~/.julia/packages/PythonCall/S5MOg/src/C/context.jl:63
[11] __init__()
@ PythonCall.C ~/.julia/packages/PythonCall/S5MOg/src/C/C.jl:23
[12] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1134
[13] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1122
[14] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base ./loading.jl:1067
[15] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base ./loading.jl:1581
[16] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1938
[17] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[18] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[19] invoke_in_world
@ ./essentials.jl:923 [inlined]
[20] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[21] macro expansion
@ ./loading.jl:1790 [inlined]
[22] macro expansion
@ ./lock.jl:267 [inlined]
[23] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[24] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[25] invoke_in_world
@ ./essentials.jl:923 [inlined]
[26] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
during initialization of module C
in expression starting at /home/raman/Fluxes.jl:1
when i run Fluxes.jl
script having lines:
using Pkg, Interpolations, TensorOperations, DelimitedFiles, PythonCall, CondaPkg
Pkg.activate(".")
CondaPkg.add_pip("pyfiles", version="@./home/raman/Pictures/MikiFor2to3/pyfiles/")
athinput=run(`/home/raman/Pictures/MikiFor2to3/pyfiles/read_athinput.py`))
datafile ="./home/raman/Pictures/sane00.athinput/"
and your post Importing local python code directory function in Julia - #9 by mkitti
gives
ERROR
https://discourse.julialang.org/t/importing-local-python-code-directory-function-in-julia/116315/9?u=raman_kumar