Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nickorlabs opened this issue Dec 27, 2023 · 1 comment
Open

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

nickorlabs opened this issue Dec 27, 2023 · 1 comment
Assignees
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 👩‍💻 Good First Issue [ISSUE] Great task for newcomers to work on ❕ Medium Priority [ISSUE] Needs to be dealt with at some point

Comments

@nickorlabs
Copy link

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

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

@xt-yin
Copy link

xt-yin commented 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

@deffcolony deffcolony added ❕ Medium Priority [ISSUE] Needs to be dealt with at some point 🐛Bug [ISSUE] Ticket describing something that isn't working 👩‍💻 Good First Issue [ISSUE] Great task for newcomers to work on labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 👩‍💻 Good First Issue [ISSUE] Great task for newcomers to work on ❕ Medium Priority [ISSUE] Needs to be dealt with at some point
Projects
None yet
Development

No branches or pull requests

3 participants