Repository navigation
Open
Description
Problem description
A cell with the command %pip install -q "granite-switch[tutorials]" in a colab fails with the following errors
Building wheel for rouge_score (setup.py) ... done
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 ipython==7.34.0, but you have ipython 9.14.1 which is incompatible.
moviepy 1.0.3 requires decorator<5.0,>=4.0.2, but you have decorator 5.3.1 which is incompatible.
opentelemetry-exporter-gcp-logging 1.11.0a0 requires opentelemetry-sdk<1.39.0,>=1.35.0, but you have opentelemetry-sdk 1.42.1 which is incompatible.
google-adk 1.29.0 requires opentelemetry-api<1.39.0,>=1.36.0, but you have opentelemetry-api 1.42.1 which is incompatible.
google-adk 1.29.0 requires opentelemetry-sdk<1.39.0,>=1.36.0, but you have opentelemetry-sdk 1.42.1 which is incompatible.
google-adk 1.29.0 requires starlette<1.0.0,>=0.49.1, but you have starlette 1.3.0 which is incompatible.
gradio 5.50.0 requires starlette<1.0,>=0.40.0, but you have starlette 1.3.0 which is incompatible.
How to recreate
- Navigate to https://github.com/generative-computing/granite-switch/tree/main/tutorials
- In the Notebooks table, with the row showing hello_mellea.ipynb click on the Open in Colab button
- As instructed, change the runtime settings in colab to use T4 GPU
- Execute the pip install cell mentioned above
- The install ends in errors
Quick analysis
Google Colab installs specific versions of core libraries that it depends on, e.g.:
ipython==7.34.0
decorator<5
specific starlette, opentelemetry, etc.
The install pulls newer versions of these dependencies, which overwrite Colab’s pinned ones.
Colab needs ipython==7.34.0, but install upgraded to ipython 9.14.1
Colab needs decorator<5, but you now have 5.3.1
Packages expect starlette<1, but got 1.3.0
OpenTelemetry versions are too new
Expected result
Installation is successful without errors.
Metadata
Metadata
Assignees
Labels
No labels
Activity
planetf1 commentedon Jun 11, 2026
Took a look - experimenting with a fix. will propose a PR. Specifically for the install
should work.
Trying out the rest of the notebook