我安装了 anaconda 发行版。
conda activate someEnv name
不起作用。
我收到错误
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate`.
To initialie your shell, run
$conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershell
如何让 conda activate someEnvName
与 csh 一起使用?
最佳答案
这对我在 CentOS 7 上有用
来自 bash:
conda init tcsh
conda 创建/编辑 ~/.tcshrc,这是我使用 csh 登录时获取的。
如果您仍想获取 .cshrc 的源代码,请将以下行添加到 .tcsrc 的末尾
source .cshrc
关于conda - 如何让 conda activate 与 csh 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60731064/