Jupyter Notebook
Install and use Jupyter Notebook
1. How to 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
pip
Install Jupyter using Python’s package manager, pip. First, make sure you have the latest pip installed:
pip3 install --upgrade pip
Then, install Jupyter Notebook using:
pip3 install jupyter
2. Jupyter Notebook Extension How-To
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:
pip3 install kubit
Enable the Extension
If running jupyter
in a system environment, use the following command in your terminal:
jupyter server extension enable --py kubit
If running jupyter
in a virtual environment, use the following command in your terminal:
jupyter server extension enable --py kubit --sys-prefix
Use the Extension In Chrome
- Use the following command in your terminal to start Jupyter Server:
jupyter notebook --browser=chrome
- 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
- Run command to uninstall the extension:
pip3 uninstall kubit
- Run command to disable the extension:
jupyter server extension disable --py kubit
Updated about 11 hours ago