Data Science using Python
Topic : Anaconda Installation
Anaconda Installation Guide
Anaconda is an open-source package manager, environment manager, and distribution of the
Python and R programming languages. It is commonly used for large-scale data processing,
scientific computing, and predictive analytics, serving data scientists, developers, business
analysts, and those working in DevOps.Package versions are managed by the package
management system conda (https://conda.io/docs/).
Get the Anaconda cheat sheet from the link
(https://docs.continuum.io/_downloads/Anaconda_Starter_Guide_CheatSheet.pdf).
Check whether Anaconda is installed in your system.
● In your Terminal window or Anaconda Prompt, run the command :
conda --version
● It will show the installed version of anaconda else it shows the error (command not
found).
Updating from older version:
You can easily update Anaconda to the latest version.
Windows :
● Open the Start Menu and choose Anaconda Prompt
● Enter these commands -
conda update conda
conda update anaconda
macOS or Linux:
● Open a terminal window
● Enter these commands:
conda update conda
conda update anaconda
Installation
Installing on Windows
● Download Anaconda (windows version) from the below link - [Note: Install 3+ version]
○ https://www.anaconda.com/download/#windows
● Locate your download and double click it.
● Follow the prompts on the installer screens.
● Select the default options in advance option when prompted during the installation of
Anaconda.
● There will be an option to install Microsoft Visual Studio Code which is not required for
this course
● When the installation is finished, from the Start menu, open the Anaconda Prompt.
Installing on MacOS
● Download Anaconda(macOS version) from the below link - [Note: Install 3+ version]
○ https://www.anaconda.com/download/#macos
● Locate your download and double click it.
● Follow the prompts on the installer screens.
● You’ll be prompted to give your password, which is usually the one that you also use to
unlock your Mac when you start it up. After you enter your password, click on Install
Software.
● There will be an option to install Microsoft Visual Studio Code which is not required for
this course
● You should get a screen saying the installation has completed. Close the installer and
move it to the trash.
● To make the changes take effect, close and then re-open your Terminal window.
Installing on Linux
● Download Anaconda(Linux Version) from the below link - [Note: Install 3+ version]
○ https://www.anaconda.com/download/#linux
● In your terminal window, enter the following command -
bash ~/(folder)/Anaconda3-(version)-Linux-x86_64.sh
● Follow the instruction on the terminal window.
● You’ll be prompted to choose the location of the installation. You can press ENTER to
accept the default location.
● When the installation is finished, to make the changes take effect, close and then re-open
your Terminal window.
Testing your installation
To test your installation, in your Terminal window or Anaconda Prompt, run the command –
conda list
For a successful installation, a list of installed packages appears.