From 95ec1c43f28142e3cf8faf812a97374ae6957507 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 9 Apr 2024 01:07:04 +0200 Subject: [PATCH] TSML/PyCaret woes: Downgrade to Joblib 1.3 Joblib 1.4.0 is not compatible with PyCaret 3.3.0. from pycaret.internal.memory import get_memory from joblib.memory import _format_load_msg ImportError: cannot import name '_format_load_msg' from 'joblib.memory' --- topic/machine-learning/automl/requirements.txt | 1 + topic/timeseries/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/topic/machine-learning/automl/requirements.txt b/topic/machine-learning/automl/requirements.txt index 76792597..0f1cf097 100644 --- a/topic/machine-learning/automl/requirements.txt +++ b/topic/machine-learning/automl/requirements.txt @@ -1,5 +1,6 @@ # Real. crate[sqlalchemy] +joblib<1.4 # Joblib 1.4.0 is not compatible with PyCaret 3.3.0 mlflow-cratedb==2.10.2 plotly<5.21 pycaret[models,parallel,test]==3.3.0 diff --git a/topic/timeseries/requirements.txt b/topic/timeseries/requirements.txt index bb22c200..b711e9ad 100644 --- a/topic/timeseries/requirements.txt +++ b/topic/timeseries/requirements.txt @@ -1,5 +1,6 @@ crate[sqlalchemy]==0.35.2 cratedb-toolkit[datasets]==0.0.8 +joblib<1.4 # Joblib 1.4.0 is not compatible with PyCaret 3.3.0 refinitiv-data<1.7 pandas<2 pycaret>=3.0,<3.4