Skip to content
Kubit Guide home
Kubit Guide home

Jupyter Notebook

Install Jupyter Notebook

Prerequisite Python

While Jupyter runs code in many programming languages, Python is a requirement (Python 3.11.x) for installing the Jupyter Notebook using these instructions.

Installing Jupyter Using pip

Install Jupyter using Python’s package manager, pip. First, make sure you have the latest pip installed:

bash

pip3 install --upgrade pip

Then, install Jupyter Notebook using:

bash

pip3 install jupyter

Jupyter Notebook Extension

The instructions below explain how to use your own computer to install, configure, and use the Jupyter notebook CSV file upload extension.

Assume you have Jupyter server (version 7.0.6) installed and running with Python 3.11.x.

Install the Extension

Run the following command in your terminal:

bash

pip3 install kubit

Enable the Extension

If running jupyter in a system environment, use the following command in your terminal:

bash

jupyter server extension enable --py kubit

If running jupyter in a virtual environment, use the following command in your terminal:

bash

jupyter server extension enable --py kubit --sys-prefix

Use the Extension In Chrome

  1. Use the following command in your terminal to start Jupyter Server:

bash

jupyter notebook --browser=chrome
  1. Click “...” above the top-right corner of a chart and click “Export to Jupyter”. Then the CSV file of interest will be opened up in a Jupyter notebook and loaded into a pandas data frame.

Remove the Extension

  1. Run command to uninstall the extension:

bash

pip3 uninstall kubit
  1. Run command to disable the extension:

bash

jupyter server extension disable --py kubit