Installation
Requirements
- Python 3.11 or later
- Jupyter, VS Code, or Google Colab
Install the package
pip install hopscotch-analyticsEnvironment 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 anywidgetThen restart JupyterLab.
Google Colab
Install the package at the top of your notebook:
!pip install hopscotch-analyticsVerify the installation
import hopscotch
print(hopscotch.__version__)