Python
Python
is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
Regardless of how you choose to install it, please make sure you install Python
version 3.x (e.g., 3.4 is fine).
We will teach Python
using the Jupyter Notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
Python 3
installer for Windows.Python 3
using all of the defaults for installation except make sure to check that the Anaconda distribution is the default Python.Python 3
installer for OS X.Python 3
using all of the defaults for installation.
Python 3
installer for Linux.Python 3
using all of the defaults for installation. (Installation requires using the shell. If you aren’t comfortable doing the installation yourself stop here and request help at the workshop.)Type:
bash Anaconda3-
and then press tab. The name of the file you just downloaded should appear.
Terminal
or command prompt
Type
jupyter notebook
and the default web browser should load and display the Jupyter dashboard.
This installation tutorial is taken from Software Carpentry