You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[generative_ai]: extras packages not being installed #13326
sklearn comes from scikit-learn, which is installed optionally when using google-cloud-aiplatform, specifically in google-cloud-aiplatform[evaluation] or google-cloud-aiplatform[testing].
google-cloud-aiplatform[all] is specified in a number of samples, but in theory is the same as just google-cloud-aiplatform.
Checking other extras options, [full] is possibly whats intended by [all], but this adds an additional ~74 packages and may not be appropriate for samples. evaluation may be the minimal change required.
The dependencies required by other samples should be confirmed and updated (in theory, would be the default no-extras if the samples work without extra dependencies)
Activity
glasnt commentedon Apr 29, 2025
sklearn comes from
scikit-learn, which is installed optionally when usinggoogle-cloud-aiplatform, specifically ingoogle-cloud-aiplatform[evaluation]orgoogle-cloud-aiplatform[testing].It appears
[all]is not a default extras specification (dependency specifiers, originally PEP-0508), and it is not explicitly defined in https://github.com/googleapis/python-aiplatform/blob/main/setup.pygoogle-cloud-aiplatform[all]is specified in a number of samples, but in theory is the same as justgoogle-cloud-aiplatform.Checking other extras options,
[full]is possibly whats intended by[all], but this adds an additional ~74 packages and may not be appropriate for samples.evaluationmay be the minimal change required.The dependencies required by other samples should be confirmed and updated (in theory, would be the default no-extras if the samples work without extra dependencies)