Installation

Requirements

  • Python 3.11 or later
  • Jupyter, VS Code, or Google Colab

Install the package

pip install hopscotch-analytics

Environment setup

VS Code

Works out of the box — no additional setup required.

JupyterLab and JupyterLab Desktop

Hopscotch widgets are built on anywidget. For widgets to render correctly in JupyterLab, anywidget must be installed in the same Python environment that runs JupyterLab itself — not just in the kernel.

If you are using JupyterLab Desktop, open the built-in Extension Manager and make sure anywidget is listed there. If it is not, install it into the JupyterLab Desktop environment:

pip install anywidget

Then restart JupyterLab.

Google Colab

Install the package at the top of your notebook:

!pip install hopscotch-analytics

Verify the installation

import hopscotch
print(hopscotch.__version__)