-
Notifications
You must be signed in to change notification settings - Fork 22
Setting up a Jupyter notebook environment (macOS)
Danny Whalen edited this page Jun 13, 2018
·
2 revisions
Follow the instructions here: https://brew.sh/.
Open Terminal.app and run brew install python
.
In Terminal.app, run mkdir -p ~/code/partridge-workspace
. Then change into that directory: cd ~/code/partridge-workspace
.
From your partridge workspace, run python3 -m venv partridge-venv
. This will setup a sandbox for you to install python packages.
You'll need to "activate" the virtualenv for each Terminal.app window. The command to activate it is source partridge-venv/bin/activate
.
Once your virtualenv is activated, install packages by running pip install partridge jupyter
. This command will install partridge and Jupyter.
Run jupyter-notebook
from your workspace.