Skip to content

Conversation

tonyhoo
Copy link
Collaborator

@tonyhoo tonyhoo commented Feb 26, 2025

Issue #, if available:
Fixes #4934

Description of changes:

Adds Jupyter/Colab environment detection to the full_install.sh script. When running in Colab or other Jupyter environments, the script automatically adds the --system flag to all uv pip install commands.

This addresses the issue where AutoGluon installation with uv pip was failing in Colab because packages were being installed in a virtual environment not accessible from the notebook's Python kernel. The --system flag ensures packages are installed in the system Python path, making them importable in notebook environments.

Colab testing link

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@suzhoum suzhoum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on the fix!

@tonyhoo tonyhoo merged commit 7d5a8c8 into autogluon:master Feb 27, 2025
19 of 20 checks passed
@tonyhoo tonyhoo deleted the test branch February 27, 2025 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Source install broken on Colab
2 participants