recsys19_hybridsvd icon indicating copy to clipboard operation
recsys19_hybridsvd copied to clipboard

ModuleNotFoundError: No module named 'polara.recommender.hybrid'

Open haow85 opened this issue 6 years ago • 4 comments

I got the following error when running HybridSVD.ipynb in Jupyter Notebook :

ModuleNotFoundError: No module named 'polara.recommender.hybrid'

I fixed the problem by uninstalling and reinstalling the module each time the error shows up. Is there any better way to tackle the issue ?

haow85 avatar Feb 03 '20 09:02 haow85

Hi @haow85, sorry, somehow I missed notification on this issue. It seems that your installation is corrupt. How do you install polara?

evfro avatar May 09 '20 14:05 evfro

I had the same probem. I installed by using source code from github.

tracthuc avatar May 20 '20 00:05 tracthuc

@haow85 @tracthuc I think, I know what is the problem. The hybrid part is only available on the develop branch, I haven't yet merged it into master. Please use the following command to install: pip install --upgrade git+https://github.com/Evfro/polara.git@develop#egg=polara

Once I issue a new release, this will be available from the standard installation. Sorry for confusion.

evfro avatar May 20 '20 15:05 evfro

@haow85 @tracthuc I think, I know what is the problem. The hybrid part is only available on the develop branch, I haven't yet merged it into master. Please use the following command to install: pip install --upgrade git+https://github.com/Evfro/polara.git@develop#egg=polara

Once I issue a new release, this will be available from the standard installation. Sorry for confusion.

Thank you for your response. However, when running HybridSVD.ipynb, I got another error.

ImportError: cannot import name 'ColdStartSimilarityDataModel' from 'polara.recommender.coldstart.data'

tracthuc avatar May 20 '20 18:05 tracthuc