Jerry Ling
Jerry Ling
can that be done? if so yeah that should work; I was wondering if it's a CondaPkg bug
that doesn't work, the sub-processes spawned later gets envs from the original Julia process
sorry, I didn't mention that when I say it doesn't work, I already tried.
```julia ENV["PYTHONHOME"] = "" ENV["PYTHONPATH"] = "" using PythonCall, Serialization function make_TH1D(h) np = pyimport("numpy") ... end ``` this fails in the middle of the CondaPkg trying to install the...
I also don't quite understand why this wouldn't work ```julia module A if contains(ENV["PYTHONHOME"], "cern.ch/lcg/release") @info "Using LCG Python, if it doesn't work try delete `.CondaPkg/` folder" # use LCG...
it still doesn't work, if I have a package that looks like this: ```julia module WVZPythonExt function __init__() ▏ if contains(ENV["PYTHONHOME"], "cern.ch/lcg/release") ▏ @info "Using LCG Python, if it doesn't...
having it outside of `__init__()` and before `using PythonCall` also doesn't work
if I have this: ```julia module WVZPythonExt ENV["PYTHONPATH"] = readchomp(`which python3`) @show ENV["PYTHONPATH"] ENV["JULIA_CONDAPKG_BACKEND"] = "Null" using PythonCall, FHist, Serialization ``` I expect to not need local Python, but right...
basically I'm looking for: - use external Python 100% - or use internal Python 100% neither seems doable programmatically without user starting Julia with specific ENV