Top Banner
Installing Anaconda Vedran ˇ Sego, vsego.org Short instructions for the ”Programming with Python” course at The University of Manchester
17

Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Sep 28, 2018

Download

Documents

phungdung
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Installing AnacondaVedran Sego, vsego.org

Short instructions for the ”Programming with Python” courseat The University of Manchester

Page 2: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Download (1)

0. Go to Anaconda download page.

1. Be careful to pick Python 3.x.

Page 3: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Download (2)

2. Download Python 3.x installer forWindows 64-bit, or

3. for Windows 32-bit, if that’s whatyou have.

Page 4: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Start the installer

Run your download.

Click ”Next”.

Page 5: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (1)

Accept the licence agreementIt is advisable to read it first. ,

Page 6: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (2)

1. Unless you deliberately want allusers on your computer to useAnaconda, choose ”Just Me”.On most home Windows systems,only a single account is usedanyway, so this option won’t makemuch difference either way.

2. Click ”Next”.

Page 7: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (3)

Click ”Next”, unless you have a reallygood reason to pick a non-defaultlocation for Anaconda.

Page 8: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (4)

The options here should be fine. Click”Next”.

Page 9: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (5)

Patience is a virtue.Those lacking it, might want toconsider having a cup of tea while theinstallation is done. ,

Page 10: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (6)

When the ”Next” button becomesavailable (i.e., the installation isfinished), click it.

Page 11: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Install (7)

Your Anaconda is ready for you tobecome the next programmer legend!Click ”Finish”.

Page 12: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

Start Anaconda

Find the new Start menu item”Anaconda” (the exact location maydepend on the Windows’ version thatyou’re using) and click ”Spyder”. Thisis the editor that we shall be using.

Page 13: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

First usage (1)

1. Write a test program, for example:

p r i n t ( ” H e l l o , World ! ” )

Leave the grey part (a comment)and a green part inside triplequotation marks as they are.

2. Go to the ”Run” menu, then click on the ”Run” item (or justpress F5).

Page 14: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

First usage (2)

With the first run of the program,Spyder will ask about some basicoptions.In this window, select ”Execute in anew dedicated Python interpreter”,which means that each run of theprogram will go clean, without variablevalues from the previous runs (whichcould cause weird errors).

Page 15: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

First usage (3)

Your program runs in the bottom right part of the editor:

Page 16: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

First usage (4)

If you need to fix your program settings fromthe first run, you can do so in menu ”Run” byclicking ”Configure...” (or press F6).

Page 17: Short instructions for the Programming with Python …vsego/python/anaconda-install.pdf · Installing Anaconda Vedran Sego, vsego.org Short instructions for the "Programming with

That’s it!,

Happy coding...