Help us understand the problem. What is going on with this article?

【備忘録】Anaconda3インストール手順

はじめに

前記事で綺麗にアンインストールしたので、改めて入れます。

手順

ここでAnacondaのインストーラをダウンロードします

したらインストーラ起動してそのまま従ってるとインストール完了します

ターミナルで以下のコマンドを打ってみます

conda --version

zsh: command not found: conda
こうなってるならなにかが狂っているので

vi ~/.bash_profile

して見ましょう

# added by Anaconda3 2019.10 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/Users/!$!"#/opt/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
    \eval "$__conda_setup"
else
    if [ -f "/Users/(%#$/opt/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/Users/t$#%#/opt/anaconda3/etc/profile.d/conda.sh"
        CONDA_CHANGEPS1=false conda activate base
    else
        \export PATH="/Users/!$%#/opt/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda init <<<

こんな感じのが複数あったら最新のもの以外を消します。
(一番上の行の日付を見ると良いです)

また、zshを使っている人は

vi ~/.zprofile

をしてここにペーストします

おわり

はい。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした