Hi,
I am attempting use Python via Conda.jl
but get the following error EnvironmentLocationNotFound: Not a conda environment: /Users/imantha/.julia/conda/3/bin
Using Conda
env = Conda.PYTHONDIR
# Out > "/Users/imantha/.julia/conda/3/bin"
Conda.pip_interop(true, env)
# Out > [ Info: Running `conda config --set pip_interop_enabled true --file /Users/imantha/.julia/conda/3/bin/condarc-julia.yml` in /Users/imantha/.julia/conda/3/bin environment
Conda.list(env)
# Out >
[ Info: Running `conda list` in /Users/imantha/.julia/conda/3/bin environment
EnvironmentLocationNotFound: Not a conda environment: /Users/imantha/.julia/conda/3/bin
ERROR: failed process: Process(setenv(`/Users/imantha/.julia/conda/3/bin/conda list`,["XPC_FLAGS=0x0", "COMMAND_MODE=unix2003", "PATH=/usr/bin:/bin:/usr/sbin:/sbin", "PWD=/Users/imantha/workspace/julia", "XPC_SERVICE_NAME=application.com.microsoft.VSCode.14496905.14496912", "TERM_PROGRAM=vscode", "VSCODE_GIT_ASKPASS_NODE=/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer)", "SHELL=/bin/zsh", "VSCODE_GIT_ASKPASS_MAIN=/Applications/Visual Studio Code.app/Contents/Resources/_SOCK=/private/tmp/com.apple.launchd.YzEyObKexC/Listeners", "USER=imantha", "JULIA_EDITOR=code", "HOME=/Users/imantha", "TERM=xterm-256color", "TERM_PROGRAM_VERSION=1.59.1", "JULIA_NUM_THREADS=", "COLORTERM=truecolor", "OPENBLAS_MAIN_FREE=1", "PYTHONIOENCODING=UTF-8"]), ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:440
[3] run
@ ./process.jl:438 [inlined]
[4] runconda(args::Cmd, env::String)
@ Conda ~/.julia/packages/Conda/sNGum/src/Conda.jl:129
[5] list(env::String)
@ Conda ~/.julia/packages/Conda/sNGum/src/Conda.jl:262
[6] top-level scope
@ REPL[21]:1