[PYTHON] What to do if (base) is displayed at the beginning of the Mac terminal

After launching the Mac terminal, The characters ** (base) ** that you are familiar with in the Anaconda prompt are at the beginning. By the way, I recently used Anaconda.

(base)username:~$ 

Cause

Since there is a possibility that the setting to automatically enable the virtual environment built with Anaconda is effective, I ran the following command to check it.

$ conda config --show | grep auto_activate_base

Now that True is returned, we know that we need to change the settings.

auto_activate_base: True

environment

・ MacOS Catalina 10.15.3

Solution

Now, let's set the setting to be automatically enabled to False. You can rewrite the settings by executing the following command.

$ conda config --set auto_activate_base False

If (base) is still displayed and the problem is not solved after executing it, Please close the open terminal and open a new terminal. I think that (base) has disappeared.

Acknowledgments

In writing, I referred to this. Thank you very much. -MacOS (OSX) --What to do if (base) is displayed on the mac terminal

Recommended Posts

What to do if (base) is displayed at the beginning of the Mac terminal
What to do if the progress bar is not displayed in tqdm of python
What to do when "Something is already running at port 8000" is displayed when the develop command of Gatsby is executed.
What to do if the inode is exhausted on EC2 Linux
What to do if you cat or tail a binary file and the terminal is garbled
What to do if the Pipenv environment is corrupted by updating Homebrew
What to do if pyenv is not enabled (zsh)
What to do when only the window is displayed and nothing is displayed in pygame Note
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do when Japanese is not displayed on matplotlib
What to do if the package dependency cannot be repaired
The sound of tic disorder at work is ... I managed to do it with the code
How to delete "(base)" that appears in the terminal when Anaconda is installed on Mac
What to do if yum breaks
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do when the value type is ambiguous in Python?
Django: What to do if TemplateDoesNotExist at / admin / after setting templates
What to do if grep: empty (sub) expression appears on Mac grep
Determine if the string is formatable
Determine if the library is installed.
Determine if the gold coin is genuine
Verbose is not turned off in LightGBM
Even if the development language is changed to python3 in Cloud9, version 2 is displayed in python --version
What to do if (base) is displayed at the beginning of the Mac terminal
Python --If statement judgment behavior under multiple conditions (even though the order is different)
[Django] What to do if the model you want to create has a large number of fields
What to do when a part of the background image becomes transparent when the transparent image is combined with Pillow
What to do if the user name is changed and the pyenv library path does not pass
What to do if there is a decimal in python json .dumps
What is the XX file at the root of a popular Python project?
What to do when the result downloaded via scrapy is in English
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
[Mac OS] What to do when Python is not installed as a framework. Is displayed when import matplotlib is performed.
Shout Hello, Reiwa! At the beginning of Reiwa
What is the cause of the following error?
What to do if the yum command fails to set locale, defaulting to C
[Python] What to do when PEP8 is violated in the process of importing from the directory added to sys.path
How to put a line number at the beginning of a CSV file
What to do if the Chainer (Windows) sample mnist terminates with WinError 183.
What to do if the server doesn't start with python manage.py runserver
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
[Introduction to Python] What is the method of repeating with the continue statement?
What to do when a warning message is displayed in pip list
What to do if you installed pyenv on Mac OS using Homebrew but the python version doesn't switch
Even if the development language is changed to python3 in Cloud9, version 2 is displayed in python --version
Example of what to do when the sample script does not work (OpenCV-Python)
I want to visualize the transfer status of the 2020 J League, what should I do?
What to do if CERTIFICATE_VERIFY_FAILED occurs when nltk.download () is done on macOS pyhon
What to do if the latest Jupyter Notebook and nb extensions don't work
[Note] What to do if the Qt library conflicts between pyqt and opencv
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if a version error occurs in the selenium Chrome driver
What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do if pipreqs results in UnicodeDecodeError
Note: What to do if pip install fails
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do if pip cannot be installed
What to do when PermissionError of tempfile.mkstemp occurs
It's a Mac. What is the Linux command Linux?
What to do if atom autocomplete-python doesn't work
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
Create a python script to check if the link at the specified URL is valid 2
What to do if ubuntu says your password is too short to change [passwd command] [ubuntu]
[Curse of dimensionality] If the number of sensors is changed to ∞, can anomaly be detected?
What to do if "export" keeps appearing on terminal when trying to put Python on macOS