[GH-ISSUE #27] CondaError: Run 'conda init' before 'conda activate' #5

Open
opened 2026-10-15 18:06:05 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @nickorlabs on GitHub (Dec 27, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/27

Originally assigned to: @deffcolony on GitHub.

CondaError: Run 'conda init' before 'conda activate'

when attempting to run ./install.sh get this error.

Originally created by @nickorlabs on GitHub (Dec 27, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/27 Originally assigned to: @deffcolony on GitHub. CondaError: Run 'conda init' before 'conda activate' when attempting to run ./install.sh get this error.
Author
Owner

@xt-yin commented on GitHub (Mar 20, 2024):

Try to replace all conda activate with source $(echo "$(which conda)" | rev | cut -d'/' -f3- | rev)/bin/activate

Ref: https://askubuntu.com/questions/1218048/activating-conda-environment-in-within-a-shell-script

<!-- gh-comment-id:2010300999 --> @xt-yin commented on GitHub (Mar 20, 2024): Try to replace all `conda activate` with `source $(echo "$(which conda)" | rev | cut -d'/' -f3- | rev)/bin/activate` Ref: https://askubuntu.com/questions/1218048/activating-conda-environment-in-within-a-shell-script
Sign in to join this conversation.
No description provided.