Comments (3)
Oh I see, it's trying to remove an environment that doesn't exist. Deleting that .CondaPkg
directory should fix it.
from condapkg.jl.
Do you get any other output?
from condapkg.jl.
Thank you for responding !!!
full data from REPL
julia> using CondaPkg
using PythonCall, CondaPkg
CondaPkg.add.("monai");
CondaPkg.resolve()
┌ Info: Found CondaPkg dependencies
└ file = "c:\\GitHub\\JuliaMedPipe\\CondaPkg.toml"
┌ Info: Found CondaPkg dependencies
└ file = "C:\\Users\\1\\.julia\\packages\\PythonCall\\7klbm\\CondaPkg.toml"
┌ Info: Removing Conda environment
│ cmd.exec =
│ 8-element Vector{String}:
│ "C:\\Users\\1\\.julia\\micromamba\\micromamba.exe"
└ ⋮
info ****************** Backtrace Start ******************
debug Loading configuration
trace Compute configurable 'create_base'
trace Compute configurable 'no_env'
trace Compute configurable 'no_rc'
trace Compute configurable 'rc_files'
trace Compute configurable 'root_prefix'
trace Get RC files configuration from locations up to HomeDir
trace Configuration not found at 'C:\Users\1\.mambarc'
trace Configuration found at 'C:\Users\1\.condarc'
trace Configuration not found at 'C:\Users\1\.conda\condarc.d'
trace Configuration not found at 'C:\Users\1\.conda\condarc'
trace Configuration not found at 'C:\Users\1\.conda\.condarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\.mambarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\condarc.d'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\condarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\.condarc'
trace Configuration not found at 'C:\ProgramData\conda\.mambarc'
trace Configuration not found at 'C:\ProgramData\conda\condarc.d'
trace Configuration not found at 'C:\ProgramData\conda\condarc'
trace Configuration not found at 'C:\ProgramData\conda\.condarc'
trace Update configurable 'no_env'
trace Compute configurable 'file_specs'
trace Compute configurable 'spec_file_env_name'
trace Compute configurable 'env_name'
trace Compute configurable 'envs_dirs'
trace Compute configurable 'use_target_prefix_fallback'
trace Compute configurable 'target_prefix'
trace Get RC files configuration from locations up to TargetPrefix
trace Configuration not found at 'c:\GitHub\JuliaMedPipe\.CondaPkg\env\.mambarc'
trace Configuration not found at 'c:\GitHub\JuliaMedPipe\.CondaPkg\env\condarc.d'
trace Configuration not found at 'c:\GitHub\JuliaMedPipe\.CondaPkg\env\condarc'
trace Configuration not found at 'c:\GitHub\JuliaMedPipe\.CondaPkg\env\.condarc'
trace Configuration not found at 'C:\Users\1\.mambarc'
trace Configuration found at 'C:\Users\1\.condarc'
trace Configuration not found at 'C:\Users\1\.conda\condarc.d'
trace Configuration not found at 'C:\Users\1\.conda\condarc'
trace Configuration not found at 'C:\Users\1\.conda\.condarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\.mambarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\condarc.d'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\condarc'
trace Configuration not found at 'C:\Users\1\.julia\micromamba\root\.condarc'
trace Configuration not found at 'C:\ProgramData\conda\.mambarc'
trace Configuration not found at 'C:\ProgramData\conda\condarc.d'
trace Configuration not found at 'C:\ProgramData\conda\condarc'
trace Configuration not found at 'C:\ProgramData\conda\.condarc'
trace Update configurable 'no_env'
trace Compute configurable 'target_prefix_checks'
error Expected environment not found at prefix: c:\GitHub\JuliaMedPipe\.CondaPkg\env
critical Aborting.
info ****************** Backtrace End ********************
ERROR: LoadError: InitError: failed process: Process(`'C:\Users\1\.julia\micromamba\micromamba.exe' -r 'C:\Users\1\.julia\micromamba\root' remove --yes --prefix 'c:\GitHub\JuliaMedPipe\.CondaPkg\env' --all`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ .\process.jl:525 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:440
[3] run(::Cmd)
@ Base .\process.jl:438
[4] _resolve_conda_remove(conda_env::Any)
@ CondaPkg C:\Users\1\.julia\packages\CondaPkg\JI8Mb\src\CondaPkg.jl:269
[5] resolve(; force::Bool)
@ CondaPkg C:\Users\1\.julia\packages\CondaPkg\JI8Mb\src\CondaPkg.jl:366
[6] resolve()
@ CondaPkg C:\Users\1\.julia\packages\CondaPkg\JI8Mb\src\CondaPkg.jl:321
[7] envdir()
@ CondaPkg C:\Users\1\.julia\packages\CondaPkg\JI8Mb\src\CondaPkg.jl:475
[8] init_context()
@ PythonCall.C C:\Users\1\.julia\packages\PythonCall\7klbm\src\cpython\context.jl:54
[9] __init__()
@ PythonCall.C C:\Users\1\.julia\packages\PythonCall\7klbm\src\cpython\CPython.jl:20
[10] _include_from_serialized(path::String, depmods::Vector{Any})
@ Base .\loading.jl:696
[11] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
@ Base .\loading.jl:782
[12] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1020
[13] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:936
[14] require(into::Module, mod::Symbol)
@ Base .\loading.jl:923
[15] eval
@ .\boot.jl:360 [inlined]
[16] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1116
[17] invokelatest(::Any, ::Any, ::Vararg{Any, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\essentials.jl:708
[18] invokelatest(::Any, ::Any, ::Vararg{Any, N} where N)
@ Base .\essentials.jl:706
[19] inlineeval(m::Module, code::String, code_line::Int64, code_column::Int64, file::String; softscope::Bool)
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:211
[20] (::VSCodeServer.var"#58#62"{Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:155
[21] withpath(f::VSCodeServer.var"#58#62"{Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams}, path::String)
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\repl.jl:185
[22] (::VSCodeServer.var"#57#61"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:153
[23] hideprompt(f::VSCodeServer.var"#57#61"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\repl.jl:36
[24] (::VSCodeServer.var"#56#60"{Bool, Bool, Bool, Module, String, Int64, Int64, String, VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:124
[25] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging .\logging.jl:491
[26] with_logger
@ .\logging.jl:603 [inlined]
[27] (::VSCodeServer.var"#55#59"{VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:201
[28] #invokelatest#2
@ .\essentials.jl:708 [inlined]
[29] invokelatest(::Any)
@ Base .\essentials.jl:706
[30] macro expansion
@ c:\Users\1\.vscode\extensions\julialang.language-julia-1.5.10\scripts\packages\VSCodeServer\src\eval.jl:34 [inlined]
[31] (::VSCodeServer.var"#53#54")()
@ VSCodeServer .\task.jl:411
during initialization of module C
in expression starting at c:\GitHub\JuliaMedPipe\src\initialLoad\MonaiExperiments.jl:3
from condapkg.jl.
Related Issues (20)
- Using CondaPkg with R Packages HOT 4
- Incorrect cuda-nvcc version HOT 3
- Not able to specify “extras” in `pip_add` ? HOT 1
- Set conda environment for a package HOT 2
- CondaPkg constantly uninstalling, reinstalling all packages HOT 4
- `conda-build` and `conda skeleton` HOT 3
- Automatically load conda packages from the dependend julia packages HOT 3
- To do: ignore indirect dependencies on CondaPkg
- How to make RCall.jl use a CondaPkg.jl environment? HOT 8
- add preferences to control allowed channels and priority
- freeze the environment by default when it is activated HOT 2
- add completions for rm, pip_rm and channel_rm HOT 1
- dependency overrides HOT 1
- [Bug] file is not passed to write_toml HOT 2
- only add channel if it is not already added
- using CondaPkg with Pluto leads to unnecesarry resolves HOT 7
- Post install/update hook HOT 3
- Feature Request: Support CONDA_CHANNELS to set conda channels HOT 1
- access denied.: "C:\Users\...\v1.9\.CondaPkg\env\DLLs\_ctypes.pyd.mamba_trash" HOT 1
- `pip_add` for URLs HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from condapkg.jl.