[PYTHON] After installing Anaconda3, I get the error "zsh: no such file or directory:/opt/anaconda3/bin/conda" in the command line preferences.

When I tried to install Anaconda3 on my home Mac, I stumbled on it for the first time.

It went well until the package installation, and in the command line environment settings,

/opt/anaconda3/bin/conda init zsh

When you execute the above command,

zsh: no such file or directory: /opt/anaconda3/bin/conda

:frowning2:

Solutions:

The cause was that the installation destination of Anaconda3 was in the application. Change the installation destination to Macintosh HD, execute the command, and succeed: girl_tone2:

Referenced URL

https://www.python.jp/install/anaconda/macos/install.html

Recommended Posts

After installing Anaconda3, I get the error "zsh: no such file or directory:/opt/anaconda3/bin/conda" in the command line preferences.
When I try to run the pip command after updating pip, I get "No such file or directory"
I get a Python No module named'encodings' error with the aws command
When I name the file flask.py in Flask, I get Import Error: cannot import name'Flask'
I want to get the file name, line number, and function name in Python 3.4
Get the file name saved in AWS S3 (1000 or more)
pip install --upgrade pip will result in No such file or directory
No such file or directory:'chromedriver': Resolve'chromedriver'
Error: pyenv: no such command `sh-activate'
Get, test, and submit test cases on the command line in the AtCoder contest
Addressed "Python .h: No such file or directory" when installing uWSGI with Python 3.8
If you get a no attribute error in boto3, check the version
Cannot import cv2 (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
NO MORE “cd: foo: No such file or directory”
No such file or directory:'chromedriver': Resolve'chromedriver'
pip install --upgrade pip will result in No such file or directory
-bash: ./ {file name} .sh: /usr/bin/bash: bad interpreter: No such file or directory
Addressed "Python .h: No such file or directory" when installing uWSGI with Python 3.8
[Note] How to deal with unicode error and No such file or directory (output table to excel file with pandas)
What to do when [Errno 2] No such file or directory appears in Python
What to do if ENOENT: no such file or directory appears during npm install
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install
When I try to run the pip command after updating pip, I get "No such file or directory"
After installing Anaconda3, I get the error "zsh: no such file or directory:/opt/anaconda3/bin/conda" in the command line preferences.