DipAsm icon indicating copy to clipboard operation
DipAsm copied to clipboard

CommandNotFoundError

Open ccmeth opened this issue 2 years ago • 2 comments

Hi,

Thanks for this useful tool and I met with a problem when I "bash test.sh | bash", and the error is "CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'". So could you please tell me how to solve this issue?

ccmeth avatar May 10 '22 13:05 ccmeth

I found that if I only retained the third line of test.sh, that is, "conda activate whdenovo", and bash it (bash test.sh), then the above error will appeared. However, if I type "conda activate whdenovo" in terminal, it works.

61fc75a17d7871e9fb60c87f0586aca

ccmeth avatar May 10 '22 14:05 ccmeth

I have found the solution. We need to add "eval $(conda shell.bash hook)" on the conda activate whdenovo. However, I met with another issue.

image

ccmeth avatar May 10 '22 15:05 ccmeth