0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntu20.04にAnacondaをインストールしcondaコマンドを使えるようにする

Last updated at Posted at 2024-06-11

インストール自体は以下のサイト通りにやるといい

インストールしただけは終わらない

Anaconda自体のインストールは無事終わったら、condaコマンドを使えるようにする必要がある。
インストールガイドの記事で以下のようなコマンドがあると思う。

conda activate
anaconda-navigator

しかしこのままやるとコマンドが無いと言われ実行できない。
そこで、以下のコマンドで設定をしましょう。

echo ". ~/anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc

次に、このコマンドで設定を反映

source ~/.bashrc

確認

conda --version

このコマンドでcondaのバージョンが出れば成功

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?