簡體   English   中英

如何修復/正確配置 conda 4.7 shell 以在 Ubuntu 18.04 上使用“conda active”?

[英]How to fix/properly configure conda 4.7 shell to use 'conda active' on Ubuntu 18.04?

我運行 Ubuntu 18.04。

我按照本教程下載並運行了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.

任何想法將不勝感激!

我在Anaconda 的官方安裝指南的故障排除列表中找到了修復程序。

我從這種情況中得出的結論是堅持使用官方文檔。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM