logo
Jiff Slater
🤔 About
✍️ Contact
📚Knowledge
30 Jul 2021
These articles have been archived. You may find them useful but I am no longer offering support for them. Check out my latest articles on plkt.io.
Installing Jupyter on macOS Mojave
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.