From a38f3b421104649c6ba5b722b7b727ea5ea734de Mon Sep 17 00:00:00 2001 From: Vedraj Date: Fri, 24 Feb 2023 17:35:59 -0800 Subject: [PATCH] Added boto3 When running locally, without boto3 as the key, the task was failing: `You need to install 'boto3' in order to use S3.` --- chapter-5/kmeans_flow_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter-5/kmeans_flow_v2.py b/chapter-5/kmeans_flow_v2.py index ae92859..8a92df5 100644 --- a/chapter-5/kmeans_flow_v2.py +++ b/chapter-5/kmeans_flow_v2.py @@ -1,6 +1,6 @@ from metaflow import FlowSpec, step, Parameter, resources, conda_base, profile -@conda_base(python='3.8.3', libraries={'scikit-learn': '0.24.1'}) +@conda_base(python='3.8.3', libraries={'scikit-learn': '0.24.1', 'boto3':'1.24.77'}) class KmeansFlow(FlowSpec): num_docs = Parameter('num-docs', help='Number of documents', default=1000000)