[PYTHON] CommandNotFoundError: Your shell has not been properly configured to use What to do if you get'conda activate'

When I executed conda activate, the following error occurred, so make a note of what to do at that time.

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.

IMPORRANT: You may need to close and restart your shell after running 'conda init'.

Execute conda init according to the error message and restart the terminal, but an error occurs again.

I ran conda init zsh (because my shell environment is zsh) and restarted the terminal and it worked fine.

Select the zsh part from the aboveCurrently supported shells are:according to each individual's environment, and rewrite it.

Recommended Posts

CommandNotFoundError: Your shell has not been properly configured to use What to do if you get'conda activate'
What to do if you can't pipenv shell
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if you can't use WiFi on Linux
What to do if you lose your EC2 key pair
What to do if you can't build your project with Maven
What to do if you can't use the trash in Lubuntu 18.04.
What to do if you can't use scikit grid search in Python
What to do if you forget your login password on Manjaro Linux
What to do if you get Could not fetch URL 443 with pip
What to do if you get an error like'Qstring' has already been set to version 1 using mne python
What to do if you get angry with swapon failed: Operation not permitted
What to do if you get an "unknown service" error from your gRPC server
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
How to install and use pyenv, what to do if you can't switch python versions
What to do if you don't want to use Japanese column names when using ortoolpy.logistics_network
What to do if sys / cdefs.h does not exist
What to do if pyenv is not enabled (zsh)
What to do if Jupyter Notebook on WSL does not start automatically in your browser
What to do if you get an Undefined error:'Module_six_moves_urllib_parse' object has no attribute'urlencode' on MacOS
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if you are addicted to Windows character code
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
What to do if you can't log in as root
If you want your colleagues to use the same language
[Django] What to do if the model you want to create has a large number of fields
What to do if you can't install pyaudio with pip #Python
What to do if you get a minus zero in Python
What to do if python says "fatal error:'stdio.h' file not found"
What to do if you get a UnicodeDecodeError with pip install
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do if yum breaks
What to do if you have installed PyCharm but shortcut keys such as `control + e` do not work
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if you can't find well with grep's -f option
What to do if you can't find PDO in Laravel or CakePHP
What to do if you couldn't send an email to Yahoo with Python.
What to do if your disk runs out due to MySQL binary logs
What to do if you get lost in file reference with FileNotFoundError
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if you get stuck during Anaconda installation on Linux
What to do if pyenv install does not proceed with an error
What to do if you get a TypeError with numpy min, max
What to do if you get an error when trying to load mnist
What to do if you can't install with pip in babun environment
What to do if fprintd requires a password when registering your fingerprint
What to do if you get an error when installing Dlib (Ubuntu)
"Lie ... What have you been up to?"
Let's summarize what you want to do.
What to do if you get a "No versions found" error in pipenv
What to do if you get an error when installing python with pyenv
What to do if NotADirectoryError: [Errno 20] Not a directory:'xdg-settings' appears in jupyter notebook
What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3