Comments (4)
Thanks @cordulack! Updating setup.py seems to have worked for me:
conda create -n recommenders python=3.9
conda activate recommenders
git clone [email protected]:recommenders-team/recommenders.git
cd recommenders
git checkout 1.1.1
Edit this line to pyyaml>=6.0.1
.
pip install -e .
from recommenders.
pyyaml is not a dependency of recommenders. I suggest to install other version of that library. In case it doesn't work, you might want to try recommenders from source.
from recommenders.
Also running into this issue. Wasn't able to find a workaround using another version of pyyaml or by installing from source. Do you have any other recommendations?
from recommenders.
@arsedler9 I ran into this problem earlier today. I got around it by downloading the "source distribution" from here https://pypi.org/project/recommenders/#files.
After copying these files to a directory inside my Anaconda environment, I edited part of setup.py so it would use newer versions of a few packages:
install_requires = [
"numpy>=1.19", # 1.19 required by tensorflow 2.6
"pandas>1.0.3,<2",
"scipy>=1.0.0,<2",
"tqdm>=4.31.1,<5",
"matplotlib>=2.2.2,<4",
"scikit-learn>=1.4.0",
"numba>=0.38.1,<1",
"lightfm>=1.15,<2",
"lightgbm>=4.2.0",
"memory_profiler>=0.54.0,<1",
"nltk>=3.4,<4",
"seaborn>=0.8.1,<1",
"transformers>=2.5.0,<5",
"bottleneck>=1.2.1,<2",
"category_encoders>=1.3.0,<2",
"jinja2>=2,<3.1",
"pyyaml>=6.0.1",
"requests>=2.0.0,<3",
"cornac>=1.1.2,<2",
"retrying>=1.3.3",
"pandera[strategies]>=0.6.5", # For generating fake datasets
"scikit-surprise>=1.0.6"
]
I might have changed more here than I needed to in the excerpt above, but the important part for me was changing the version for pyyaml to 6.0.1.
After I edited setup.py, I used pip to install the downloaded version of recommenders
pip install '<path to the edited /recommenders directory in my Anaconda environment files>' --verbose
I ran into some more problems after that, but I think I resolved all of them by installing various packages that the errors mentioned.
I hope this helps!
from recommenders.
Related Issues (20)
- [BUG] Movielens not working in python 3.7 due to Pandera library HOT 15
- [BUG] OOM in nightly SliRec and DKN HOT 3
- [BUG] NameError in ImplicitCF HOT 3
- [BUG] Upgrade GitHub Action azure/login HOT 2
- [BUG] Migrate AzureML SDK from v1 to v2 HOT 1
- [FEATURE] Add r-precision metric HOT 1
- [ASK] Multi Modal Recommendation HOT 1
- [BUG] tensorflow-estimator is removed from tensorflow 2.16.1
- [ASK] Stopped the support of new Tensorflow versions >= 2.16
- [BUG] Issue with SARplus in the latest merge to main issue with permissions HOT 1
- [ASK] cannot import name 'store_metadata' from 'recommenders.utils.notebook_utils' HOT 3
- [FEATURE] Implement R-Precision with PySpark
- [ASK] Is binary relevance the only option in RankingMetric class for pyspark evaluation?
- [FEATURE] Switch scipy sparse matrix to scipy sparse array HOT 1
- [ASK] Perfect MAP@k is less than 1 HOT 1
- [ASK] Unexpected Behavior with LightGCN Model When Loading Saved Files HOT 1
- [FEATURE] Support Python 3.12 HOT 2
- [FEATURE] Add David Davรณ as contributor
- [ASK] MIND test dataset doesn't work for run_eval
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recommenders.