These steps have been tested on a Linux Mint 18, a variant of the Ubuntu flavour of linux systems.
In order to run the exercices from the course, you will need to setup and install anaconda for python 3.
On the [anaconda website](https://www.anaconda.com/distribution/), download the python 3.7 version of anaconda. ake sure you are downloading the version that matches your processor type (you should download the x86 installer)
In the folder where you downloaded the installation script, run the latter using bash Anaconda3-2019.10-Linux-x86_64.sh
. Type enter
to start the process
Scroll through the licence agreement by pressing the return key. At the end, type yes
to accept the license terms and conditions.
Anaconda provides you with a default path where it will install the relevant software. It is recommended that you change this directory name, like the example shown here. Once you have entered a new path name, type the return key and the installation will proceed.
Once the installation is finished, you will be asked if you ant to initialize the environment. Type no
to this step.
Move to your home folder by typing cd
. Open a file named .bashrc
, and add the following line at the bottom of the file:
alias anaconda3="export PATH=/home/username/some_path_name/bin:$PATH;source /home/username/some_path_name/bin/activate"
Close your terminal and open a new one. When you type in anaconda3
, your new anaconda environment should load. You are then ready to work on your notebooks.
-
Open a terminal window.
-
If you don't have git installed on your laptop, install it by following these instructions
-
Clone the Applied ML repository using the command
git clone https://https://github.com/troelspetersen/AppliedML2021 ./AppML2021_local/
. Feel free to choose another name for your folder, or just use "." if you want to use the same name (i.e. "AppliedML2021"), which is default/common. -
You now have a local copy of the repository
Make sure you run the command anaconda3
before running a notebook.