安裝anaconda以後去掉ubuntu的(base)ubuntu
最近在作項目過程當中,搭建了騰訊雲的Ubuntu服務器,安裝了conda,但是每次命令提示符前面總有一個討厭的(base),讓有潔癖的我感受很是不爽。找了半天,找到下面的方法:
conda config --set auto_activate_base false
斷開CRT,從新進入系統
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-130-generic x86_64)服務器
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
New release '18.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.it
Last login: Mon Apr 27 07:24:10 2020 from XX.XX.XX.XX
ubuntu@VM-0-2-ubuntu:~$ io
果真已經沒有base提示符號,開心啊。ast