machine learning in python and jupyter for beginners...machine learning in python and jupyter for...

11
Anaconda Installation Guide Dave Valentine Machine Learning in Python and Jupyter for Beginners

Upload: others

Post on 30-Dec-2020

32 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Anaconda Installation Guide

Dave Valentine

Machine Learning in Pythonand Jupyter for Beginners

Page 2: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Table of Contents1. Starting the Installation 3

2. Verifying the Installation 10

2

Page 3: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Starting the Installation

Stare your webbrowser of choice

Start up your web browser ofchoice. I've started chrome. Visit: https://www.anaconda.com/download/

Select your platformand distribution.

I've selected Windows as myplatform.

3

Page 4: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Select yourdistribution.

I've selected 64 bit (2) as myworkstation is 64 bit.

Select what is appropriatefor your workstation.However, be sure to installthe Python 3.x version. At the time of this guide creation that's 3.7. It may be later for you, butthat should work as long as it's 3.x.

Once downloaded

Click on "Anaconda3-2018.12-Windows-x86_64.exe", or yourequivalent to start theinstaller.

Setup will load

4

Page 5: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Click next to begin theinstallation

Click next on "Anaconda32018.12 (64-bit) Setup"dialog.

License Agreement

Click on "I Agree" button ifyou accept the terms of theLicense Agreement.

5

Page 6: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Selecting theInstallation Type

For the purposes of thecourse, "Just me" is perfect.Select "Just me" and continuethe installation process.

Accepting thedestination folder

You can choose where youinstall Anaconda. If you havea space in your user name,you may with to provide itwith an alternative locationas that is known to confuseAnaconda. If not, you can accept thedefault folder destination as I have done here. Choose what works for you,you won't have problems with the course later on.

6

Page 7: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Advanced InstallationOptions

I have in the past chose the"Add anaconda to my Path",for the course but havestandardized on not selectingit. We can run the Anacondaprompt for the examples thatneed the right version ofpython. Leaving these options as-is is gives us the best flexibility. Importantly, weneed to make sure that python 3.x is associated with Anaconda (andJupyter) for our code examples to work, which will happen with ourinstallation regardless.

Installation willprogress

This will take time! If you want, you can choose"show details" in order to seeadditional installationinformation.

7

Page 8: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Installation willcomplete

Click on "Next >" button.

Visual Studio Code

Click on "Skip" button, to skipthis optional installation. The course doesn't use it andyou don't need to install it.

8

Page 9: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Installation is complete

You can Uncheck "Learnmore about Anaconda Cloud",as well as "Learn how to getstarted with Anaconda", ifyou wish. Finally, you click on Finish toclose the installer.

9

Page 10: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Verifying the InstallationStarting AnacondaPrompt

Select "Anaconda3 (64-bit)(or equivalent)" folder fromthe windows menu, and then"Anaconda Prompt"

The Anaconda Prompt

Once the Anaconda prompthas started, enter thefollowing command:conda --version

10

Page 11: Machine Learning in Python and Jupyter for Beginners...Machine Learning in Python and Jupyter for Beginners Table of Contents 1. Starting the Installation 3 2. Verifying the Installation

Verifying Version

The following (or later)version should display. Once you've verified this, weshould check that installedpackages to make sureeverything looks clean. Enter:conda list

Packages!!!

You'll be presented with ahuge list of packages!

All done!

At this point, you'vecompleted the verification ofAnaconda installation.Close the window. You nowhave it fully set up for thecourse!Looking forward to seeing you there!

11