Why does '(base)' appear in my anaconda command prompt?

前端 未结 7 1946
悲&欢浪女
悲&欢浪女 2020-12-13 09:54

My anaconda command prompt now says:

(base) C:\\users\\user_name>

I would like to know why (base) appears in front of the prompt. This s

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 10:18

    Showing the active environment in front of the path like (base) C:\users\user_name> is a feature, not a bug. If you pip-install a module into the base environment (bad practice warning: Use conda install this_module -c conda-forge or pip install this_module into a separate environment), you'll first need to activate the base environment before you can actually use this_module. If you don't know how to do this in your IDE (although this a base functionallity of any IDE), open a cmd shell, type conda activate and then start your IDE directly from the (base) C:\users\user_name> prompt.

提交回复
热议问题