modeling-examples icon indicating copy to clipboard operation
modeling-examples copied to clipboard

music_recommendation.ipynb cannot run under python 3.12

Open venaturum opened this issue 1 year ago • 2 comments

modeling-examples/music_recommendation/music_recommendation.ipynb relies on lightfm.

The following works in an empty py311 environment:

python -m pip install --upgrade pip setuptools wheel
python -m pip install lightfm

but fails to build in an empty py312 environment. Consequently the notebook can't be used with py312.

venaturum avatar Apr 25 '24 11:04 venaturum

I say we disable the 3.12 test for now until we find a better fix for this notebook. @yurchisin, do you have any idea on what to do here? We could also download the music data with 3.11 and add it to the repo but I am not too fond of this approach.

mattmilten avatar May 20 '24 09:05 mattmilten

We could always put the music data in its own repo if you didn't want to pollute this one.

venaturum avatar May 20 '24 15:05 venaturum