keplergl / keplergl/kepler.gl

[Bug][Jupyter Widget] Google Colab Dependency Conflict Prevents Rendering

Open
#2,914 4 comments 0 reactions 2 assignees Claimed by @lixun910 View on GitHub
jupyter
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
Using Google Colab and running ! pip install keplergl , a dependency conflict arises with jupyterlabs requirement for ipykernal version of >6.5.0 and google-colab requires version 5.5.6. This jupyerlabs dependency seems to prevent the widget from rendering using the provided keplergl documentation. This worked prior to the latest releases between December 2024 and January 2025

**To Reproduce**
Steps to reproduce the behavior:
1. Open new Google Colab doc
2. pip install keplergl
3. map_1 = KeplerGl()
3a. map_1

**Expected behavior**
Should display the kepler widget

**Screenshots**
`ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires ipykernel==5.5.6, but you have ipykernel 6.29.5 which is incompatible.`

**Environment (please complete the following information):**
- Python version: python3
- keplergl Widget version: 0.3.6

**Additional context**
The jupyerlabs v4.1.6 requires ipykernal 6.5.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.