Preparation

First, you need Python 3 and JupyterLab. Downloading Python and JupyterLab installation guide would help if you have to install them by yourself on your computer.

Here is an example of setup procedures with macOS X Big Sur, Python 3.9, venv, JupyterLab, and pip.

  1. Download macOS 64-bit installer from python 3.9.0 download page and double-click the pkg file.

  2. In Finder, go to Applications → Python 3.9 and double-click Install Certificates.command to install trusted root certificates.

  3. Open a Terminal and make a virtual environment.

python3 -m venv ~/mywork
cd ~/mywork
. bin/activate
  1. Install JupyterLab via pip.

pip install jupyterlab
  1. Start JupyterLab in a subdirectory.

mkdir jupyter_home
cd jupyter_home
jupyter lab

JupyterLab will open automatically in your browser. You may access JupyterLab by entering the local notebook server’s URL into the browser.

You will do hereafter all procedures in Jupyter notebook.