Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 2.38 KB

README.md

File metadata and controls

76 lines (45 loc) · 2.38 KB

Installation instructions for the course

Use these instructions to install Git, Shell, Python and associated libraries (numpy and friends) on Windows, macOS and Linux.

Windows

Shell and Git

Install git for windows. This provides both git and a bash shell for basic commands.

Python

We recommend using Anaconda to install Python, for simplicity. You can also use Miniconda if you feel confortable.

To make conda available from within the Git Bash open Git Bash and then run the following:

$ echo ". ${HOME}/anaconda3/etc/profile.d/conda.sh" >> ${HOME}/.bash_profile

Now restart Git Bash. You should now be able to simply run conda activate to make Python available from within Git Bash.

macOS

Shell

macOS system come with a shell, so there's no need to install one. You access the shell from the Terminal (found in /Applications/Utilities). This video shows this.

Git

If git is not already installed you can install it together with the XCode Command Line Tools like:

$ sudo xcode-select --install

or using homebrew:

$ brew install git

Python

We recommend using Anaconda to install Python, for simplicity. You can also use Miniconda if you feel confortable.

Linux

Shell

Linux system come with a shell, so there's no need to install one.

Git

To install Git use the package manager of your distribution.

For Debian/Ubuntu run:

$ sudo apt-get install git

For Fedora:

$ sudo dnf install git

Python

We recommend using Anaconda to install Python, for simplicity. You can also use Miniconda if you feel confortable.

Anaconda vs Miniconda

Anaconda installs not only Python but also a large number of packages including everything we need for this course (and much more). Miniconda installs a minimal conda environment. You will then have to manually install the following packages:

  • numpy
  • scipy
  • matplotlib
  • jupyter

You can do this with:

conda install numpy scipy matplotlib jupyter