![](/img/trans.png)
[英]Use the default Python rather than the Anaconda installation when called from the terminal
[英]How could I use fish( or zsh) rather than default bash in a anaconda enviroment
我安裝了 anaconda 和魚,然后運行以下命令
> echo /usr/local/bin/fish | sudo tee -a /etc/shells
> chsh -s /usr/local/bin/fish
然后我重新啟動終端,它說
(base) username@pop-os:~$
我意識到這是 conda 的基礎環境,然后搜索后,我運行另一個命令
conda init fish
然后重新啟動終端,它仍然是 bash 而不是魚。
有什么辦法可以同時從 conda 和 fish 中受益?
我需要做的就是重新啟動我的系統,以便設置默認終端的更改。
另外,我誤解了康達人可以參考評論來說明細節。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.