Table of Contents

anaconda

see also:

Introduction

  • this installation can get complicated to ensure all the versions of modules play together in the correct environment and can lead to kernel failures when running Jupyter notebooks if not installed correctly
  • if you install Python modules with pip instead of with conda, conda may not be aware of them

Anaconda command prompt

check the conda install

conda info
conda update -n base conda #optionally run this to update the conda install to latest install
conda update anaconda #optionally run this to update the anaconda install to latest install

set your environment within the terminal

conda activate environment_name

install apps into the set environment

conda install -c main pandas
conda install numPy
conda install matplotlib
conda install -c main scikit-learn
conda install scikit-learn-intelex # this is an accelerator for scikit-learn for win64
conda install -c main tensorflow #in July 2023, this will not install on python v3.11 as only compatible with python 3.5.* to 3.10.*
conda install -c main nltk #natural language toolkit
conda install -c pytorch pytorch-cuda #NB. -c is the channel parameter so here it is using the pytorch channel to search and install the latest pytorch-cuda package
#can use -n ENVNAME to choose the environment to install if you have not activated that environment

Anaconda Navigator