Skip to content

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

Open
@inventingian

Description

@inventingian

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

Metadata

Metadata

Labels

jupyterkeplergl for Jupyter

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions