conda - 如何让 conda activate 与 csh 一起使用?

标签 conda csh

我安装了 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/

相关文章:

comments - 如何在 csh 上输入评论?

python - `conda` 给出了 "No such file or Directory"虽然我在我的 .bash_profile 中添加了 PATH

python - 在 CONDA 环境中独占使用 PIP 有哪些陷阱?

python - 如何解决 WSL 中的 "CondaHTTPError: HTTP 000 CONNECTION FAILED"错误?

java - PySpark无法运行python2.7,没有这样的文件或目录

shell - 如何找出shell中是否存在shell命令

python - conda 从环境文件创建与 conda 克隆

bash - 计算 linux 中制表符的数量

shell - c shell脚本中set命令错误

linux - 在 linux shell 命令中替换输出文件扩展名