shilpagarg / DipAsm

MIT License
75 stars 18 forks source link

CommandNotFoundError #29

Open ccmeth opened 2 years ago

ccmeth commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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