Replies: 3 comments 3 replies
-
I don't think pixi is trying to have an aligned interface with conda. It's nice of you to share this scripts, would be easier for anyone try to use near cli interface |
Beta Was this translation helpful? Give feedback.
-
That is rather disappointing. I think pixi should accommodate both the use-cases. However, why adding |
Beta Was this translation helpful? Give feedback.
-
I'm not expert in shell, but i managed to find this page that may help this issue #issues-with-pixi-shell Replace pixi-activate() {
local name="$1"
local base="$HOME/pixi-envs"
local env="$base/$name"
if [[ -d "$env" && -f "$env/pixi.toml" ]]; then
eval "$(pixi shell-hook --manifest-path $env)"
else
echo "No pixi environment named '$name' found in $base"
return 1
fi
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my workflow, I like to see environments as "toolboxes" that I use for different projects.
For example, I use the "toolbox" foo for projects A, B and C and "toolbox" bar for project X and Y.
However, pixi seems more project oriented, i.e. a pixi.toml is connected to a specific project/folder. For this reason, I like the conda approach to environments management.
However, with little work, I managed to recreate the same workflow with pixi as well by adding the following functions to my .bashrc.
However, I am wondering if there is a native way to get the same result with pixi (however, note that the last
pixi-activate py314
does not work)Beta Was this translation helpful? Give feedback.
All reactions