CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'

使用conda时报上面的错,一般是因为路径错误 使用这个命令获取路径 conda info | grep -i 'base environment' 用得到的路径替换下面命令中的路径 source 路径/etc/profile.d/conda.sh 运...

使用conda时报上面的错,一般是因为路径错误

使用这个命令获取路径

conda info | grep -i 'base environment'


用得到的路径替换下面命令中的路径

source 路径/etc/profile.d/conda.sh
运行之后conda的使用就正常了
  • 发表于 2022-12-19 11:20
  • 阅读 ( 1264 )
  • 分类:linux

0 条评论

请先 登录 后评论
xun
xun

电路元件工程师

76 篇文章

作家榜 »

  1. omicsgene 691 文章
  2. 安生水 340 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. xun 76 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章