Closed Sandy4321 closed 6 years ago
Could you provide your FluRS version (installed pip install flurs
or pip install .
on source) and error message?
I reinstalled FluRS as you told me
pip install .
when I use pip list
it is what I get
flurs (0.0.2)
error message is:
File "d:\Recommender systems\code\stream-recommender-master\experiment.py", line 293, in
builtins.AttributeError: 'MFRecommender' object has no attribute 'init_recommender'
by the way it is message for flurs instalaltions by pip install . Microsoft Windows [Version 10.0.16299.248] (c) 2017 Microsoft Corporation. All rights reserved.
D:\Recommender systems\code\flurs_feb21_for_installation\flurs-master\flurs-master>pip install . Processing d:\recommender systems\code\flurs_feb21_for_installation\flurs-master\flurs-master Requirement already satisfied (use --upgrade to upgrade): flurs==0.0.2 from file:///D:/Recommender%20systems/code/flurs_feb21_for_installation/flurs-master/flurs-master in c:\users\sander\anaconda3\lib\site-packages Requirement already satisfied: numpy in c:\users\sander\anaconda3\lib\site-packages (from flurs==0.0.2) Requirement already satisfied: scipy in c:\users\sander\anaconda3\lib\site-packages (from flurs==0.0.2) Requirement already satisfied: scikit_learn in c:\users\sander\anaconda3\lib\site-packages (from flurs==0.0.2) Requirement already satisfied: mmh3 in c:\users\sander\anaconda3\lib\site-packages (from flurs==0.0.2) Building wheels for collected packages: flurs Running setup.py bdist_wheel for flurs ... done Stored in directory: C:\Users\Sander\AppData\Local\pip\Cache\wheels\e3\22\aa\87668f0da413527d489b49c21a369d1e28d91bfd7a22741256 Successfully built flurs
D:\Recommender systems\code\flurs_feb21_for_installation\flurs-master\flurs-master>
as we can see it is written Requirement already satisfied (use --upgrade to upgrade): flurs==0.0.2 from
You are actually using the latest version of FluRS (0.0.2), but code in this repo was created with FluRS 0.0.1. See requirements.txt for full dependency.
Note that this repo is just snapshot of my past experiments and currently unmaintained; if you want to re-use these code with the latest FluRS (0.0.2+), you have to manually modify them for now.
I see, thanks for help, by the way may it is good idea to use it with FluRS 0.0.1, may you share zip file with FluRS 0.0.1 , for example by email, my email is sndr.stpnv@gmail.com
v0.0.1 is of course accessible on GitHub: https://github.com/takuti/flurs/releases/tag/0.0.1
great thanks, but how I can use it? should I uninstall ver 0.0.2 and install version 0.0.1?
I can not run till I changed
in file experiment.py line rec.init_recommender(is_static) to rec.initialize(is_static)
is it correct to use rec.initialize(is_static) ? thanks