とらりもんHOME  Index  Search  Changes  Login

Anaconda

注意!

anacondaでpythonパッケージをインストールするときはpipよりconda installを使うべし。その方が依存関係がいいかんじになるらしい(chatGPT談)。

Install (to user's home directory)

$ wget https://repo.anaconda.com/archive/Anaconda3-2023.07-1-Linux-x86_64.sh
$ bash Anaconda3-2023.07-1-Linux-x86_64.sh

To suppress anaconda environment from shell default status

$ ~/anaconda3/bin/conda config --set auto_activate_base false

You can activate conda by

$ conda activate

Install packages

generally useful:

conda install numpy
conda install matplotlib
conda install pandas

useful for geospatial researchers:

conda install cartopy

Anaconda navigator

$ ~/anaconda3/bin/anaconda-navigator

If the anaconda can't be activated (This section was added by Shimada)

Put the following command to Linux console.

$ export PATH=~/anaconda3/bin:$PATH
Last modified:2023/08/05 12:44:48
Keyword(s):
References:[とらりもんHOME]