You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run pip install recbole and python run_recbole.py as specified in the README.me will throw:
File "<redacted_folder>/recbole/model/general_recommender/ldiffrec.py", line 29, in <module>
from kmeans_pytorch import kmeans
ModuleNotFoundError: No module named 'kmeans_pytorch'
@BishopLiu thanks for taking care of this. How about torch-scatter and dgl? Some other tests require them. Are they optional dependencies or mandatory?
Describe the bug
Run
pip install recbole
andpython run_recbole.py
as specified in the README.me will throw:The dependency
kmeans-pytorch
is not installed by pip because it's not listed in thesetup.py
: https://inspector.pypi.io/project/recbole/1.2.0/packages/6b/b1/43993a85af17148e495c7c26d05f76fc622a9eefd5db38ef9a6ea908422b/recbole-1.2.0.tar.gz/recbole-1.2.0/setup.py#line.9I wonder if some of the dependencies listed in https://github.com/RUCAIBox/RecBole/blob/v1.2.0/.github/workflows/python-package.yml#L36-L51 should be moved into the
requirements.txt
updatingsetup.py
as well.To Reproduce
Steps to reproduce the behavior:
pip install recbole
python run_recbole.py
Expected behavior
A run without errors as described in README.md
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: