Anaconda for everyday computing

Always download and install the latest version of Anaconda — Screenshot by Amin Mahpour

Why Anaconda?

Install Anaconda

wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
curl 'https://repo.anaconda.com/archive/Anaconda3-2019.10-MacOSX-x86_64.sh' --output Anaconda3-2019.10-MacOSX-x86_64.sh
sh Anaconda3-2019.10-Linux-x86_64.sh 
sh Anaconda3-2019.10-MacOSX-x86_64.sh
Welcome to Anaconda3 2019.10In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
Do you accept the license terms? [yes|no]
Anaconda3 will now be installed into this location:
/Users/yourusername/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
conda info

Working with environments in Anaconda

conda create -n myconda38 python=3.8
conda activate myconda38
conda install your-package-name
conda install numpy
Collecting package metadata (current_repodata.json): done
Solving environment: done
The following packages will be downloaded:package | build
---------------------------|-----------------
libopenblas-0.3.6 | hdc02c5d_2 8.5 MB
numpy-1.17.4 | py37hfd23ef0_0 4 KB
numpy-base-1.17.4 | py37ha711998_0 3.8 MB
------------------------------------------------------------
Total: 12.4 MB
The following NEW packages will be INSTALLED:libopenblas pkgs/main/osx-64::libopenblas-0.3.6-hdc02c5d_2
numpy pkgs/main/osx-64::numpy-1.17.4-py37hfd23ef0_0
numpy-base pkgs/main/osx-64::numpy-base-1.17.4-py37ha711998_0
conda list
conda env list

Last words

Research Fellow at Harvard Medical School and Massachusetts General Hospital. I write about science and technology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store