docker CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
时间: 2023-11-12 07:58:47 浏览: 165
这个错误提示表明您的 shell 没有正确配置以使用 'conda activate' 命令。您可以尝试以下步骤来解决此问题:
1. 确保您已经安装了 conda,并且已经将其添加到了 PATH 环境变量中。
2. 打开终端并输入以下命令:`conda init <SHELL_NAME>`,其中 `<SHELL_NAME>` 是您正在使用的 shell 的名称,例如 bash、zsh 等。
3. 重新启动终端并尝试使用 'conda activate' 命令。
如果上述步骤无法解决问题,您可以尝试手动配置 shell。具体步骤可以参考 conda 官方文档。
阅读全文
相关推荐
















