maciejkula / spotlight

Deep recommender models using PyTorch.
MIT License
2.97k stars 421 forks source link

ModuleNotFoundError: No module named "spotlight.interactions" #187

Open NomiDomi opened 3 years ago

NomiDomi commented 3 years ago

I need to migrate a code that is using spotlight to Azure Machine Learning.

When calling the module I am constantly getting these type of errors.

My python version is 3.6.9 in Azure Machine Learning and I tried to call the module on my local pc as well, but I am getting the same error.

Any news on how to fix this?

santhoshgits commented 2 years ago

I too facing the same issue. Did you fix it by any chance now?

he7d3r commented 1 year ago

When I ran

pip install spotlight

and tried to run

from spotlight.interactions import Interactions

I got the same error, but it worked when I used this instead:

pip install git+https://github.com/maciejkula/spotlight.git@master#egg=spotlight