These instructions guide you through the process of installing Python and other packages (e.g., Jupyter Notebook) on your machine.
The easiest means of installing Python is to download the free Anaconda distribution of the programming language:
Follow the guidance provided by Anaconda or watch this video guide by King's College London (note: refers to Windows installation).
Anaconda provides various ways of running Python on your machine. We prefer using Jupyter Notebook for writing and documenting our code. To launch Jupyter notebook, open your Command Line Interface (CLI) and type the following:
jupyter notebook
For example, to launch Jupyter Notebook on a Windows machine:
- In the search bar in the bottom-left corner of your screen, type cmd and press
enter
. - With the command prompt open, type jupyter notebook and press
enter
. - After a few seconds, you should see the following screen in your web browser:
From this screen you will be able to create new Jupyter notebooks, as well open existing ones.