Python Primer Install Steps
Python Primer Install Steps
This is a detailed introduction to getting set-up and started with Python programming using the wonderful
world of Jupyter notebooks. Further praise can be found in the notes that follow!
Or typing https://www.anaconda.com/download/ which takes you directly to the download page, below:
Choose from Windows, Mac or linux and you will be taken further down the page to. In my example, I’ve
chosen the Windows Installer.
Now click on Python 3.7 version.
• Windows (old) Click Start, right-click My Computer, and then click Properties if you see 64-bit it’s a
64-bit system
• Windows 10 In the search bar enter ‘device specifications’, then look next to System type.
• Mac uname -a also
• linux uname -a and if you see x64 then 64-bit else 32-bit
The first time you run Anaconda Navigator, from the list of (many) options presented, launch Jupyter
Notebook.
The latest version is very exciting as it contains both CMD and Powershell Prompy options – so very exciting!
You view which opens in your web browser should look something like
Click on New for the drop-down menu; select Python 3 which will create a new Jupyter notebook, in a new
window,
and you are ready to go. If this is the first time you are doing this, your view will be different, as I have
nbextensions installed, which are discussed next.
These are add-ons that extend your functionality – in the process they take your experience to a new level
giving MS Office style environment. In addition, they make life considerably simple with a lot of assistance.
You will find you only need a few from the fairly long list of extensions. To install, launch your CMD.exe
prompt and type the following (or copy/paste) conda install -c conda-forge jupyter_contrib_nbextensions
Exit the CMD prompt after the installation is complete and relaunch Jupyter Notebook. Return to
nbextensions to see the following
The extensions I have enabled can be seen in the screenshot above. Spend a little time learning about each
one – when you click each box, information on the use of each is given if you scroll down the page.
conda commands can also be entered in cells in Jupyter Notebook (hit the Run key), the following would be
the same as the steps followed above
Note the message that Nbextensions are already installed! A comprehensive list of conda commands is at
https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda
-cheatsheet.pdf
When you receive the Jupyter notebook, save it to any convenient folder, or one of the ones listed in your
home page on the notebook (as shown on page 3 of this document). For windows the default directory is
Users.