错误提示:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.

解决方法参考了网页:https://blog.csdn.net/qq_42902997/article/details/103946305

##conda activate gatk3.8
conda activate *****

均会提示下面的错误信息:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

具体原因不清楚。
解决方式如下:

#在激活特定环境之前,先运行下面一条命令
source ~/anaconda3/etc/profile.d/conda.sh
之后再运行下面的命令就可以解决了。
conda activate gatk3.8
conda deactivate
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容