【发布时间】:2019-10-22 11:06:36
【问题描述】:
我运行的是 Ubuntu 18.04。
我在tutorial 之后下载并运行了Anaconda 2019.10 install .sh 的 Pyhon 3.7 64Bit(x86) 版本。
在我全新的 Anaconda 安装中,以下运行完美无缺
conda info
conda list
conda init
conda create
conda env list
我的问题:
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.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
我对这条消息感到困惑。问题是我已经在安装过程中初始化了我的 shell。
因此conda init bash 返回No action taken.
任何想法将不胜感激!
【问题讨论】: