Installing Jupyter on macOS Mojave
I recently needed to visualise some waveforms and was struggling with the extremely limited output in Swift Playgrounds.  To remedy this, I installed Jupyter on my Macbook. I opted for a local installation as opposed to changing the system files. $ python –version Python 2.7.10 $ sudo easy_install pip $ sudo python -m pip install […]
14 December 2018

I recently needed to visualise some waveforms and was struggling with the extremely limited output in Swift Playgrounds.  To remedy this, I installed Jupyter on my Macbook.

I opted for a local installation as opposed to changing the system files.

$ python --version
Python 2.7.10
$ sudo easy_install pip
$ sudo python -m pip install virtualenv
$ mkdir -p ~/local/python/jupyter
$ cd !$/..
$ virtualenv jupyter --no-site-packages
$ source jupyter/bin/activate
$ pip install jupyter
$ jupyter notebook

When you’re finished, close out of the environment by running deactivate in the terminal.