Wednesday, October 28, 2020

ML 101 - Setup Jupyter notebook on your laptop

 This instruction is for Mac, please look for similar instruction to install on Windows/Linux.

First thing first: Install brew if you don't have it:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"


Setup PATH:

export PATH="/usr/local/opt/python/libexec/bin:$PATH"


Install latest Python3 and necessary packages:


brew install python

pip3 install -U pip setuptools wheel


Install Jupyter:


pip3 install -U jupyter jupyter-client


Install datascience packages:


pip3 install -U numpy pandas scikit-learn matplotlib


Setup a working directoryand start Jupyter server:


mkdir ~/work

jupyter-notebook --notebook-dir=~/work


This should start Jupyter on your localhost: http://localhost:8888/


No comments:

Post a Comment

Make Everyone Smile

Hey there! Just wanted to let you know that today is officially National 'Make Everyone Smile' Day! So, consider yourself officially...