Score:0

Conda activation

br flag

I recently moved miniconda2 to another directory and now I can't activate the conda environment. Please any suggestion to resolve this problem.

bash: conda: command not found
Score:0
cn flag

What I said initially is wrong, amending PATH will not suffice.

If the anaconda documentation is something to go by. You can't just move directories.

You will have to uninstall conda and reinstall to the new place.

Fynn avatar
cn flag
don't forget to substitute `/new/path/to/conda` with where you actually put miniconda2
br flag
Thank you for your answer. Actually it keeps looking for conda in the old directory. How can I change the path in bash please.
Fynn avatar
cn flag
With the command that I put in the answer, but please don't just copy and paste, but actually read through the linked article first. That might make things clearer
Fynn avatar
cn flag
or are you saying, that it looks in the old dir even though you did that?
br flag
Yes it keeps looking in the old directory even though I did that.
Fynn avatar
cn flag
amended my answer, TL;DR you have to reinstall, see here https://docs.anaconda.com/anaconda/user-guide/tasks/move-directory/
br flag
Thank you. I'm checking that.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.