mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-24 08:06:16 +02:00
Expose the CONDA_BASEPATH env variable
This commit is contained in:
@@ -12,7 +12,7 @@ cp sd-ui-files/scripts/webui_console.py scripts/
|
|||||||
source ./scripts/functions.sh
|
source ./scripts/functions.sh
|
||||||
|
|
||||||
# activate the installer env
|
# activate the installer env
|
||||||
CONDA_BASEPATH=$(conda info --base)
|
export CONDA_BASEPATH=$(conda info --base)
|
||||||
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # avoids the 'shell not initialized' error
|
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # avoids the 'shell not initialized' error
|
||||||
|
|
||||||
conda activate || fail "Failed to activate conda"
|
conda activate || fail "Failed to activate conda"
|
||||||
|
Reference in New Issue
Block a user