Comments (8)
INSTALL MANUAL FOR UBUNTU WITH MODERN PYTHON 3.8:
I would like to share solution the same problem in Ubuntu 20.04.1 (x64) and python 3.8.5, DELL notebook. OS is installed on VirtualBox 6.1.18 on Windows 10 (host-OS). I spent 2 days for it. Maybe someone will save his/her time. And thanks to @mohelm for his comment above, but it worked not completelly. And I have NOT-Mac computer. pip install
still doesn't work.
I built fastFM from sources.
- cd folder where to download git sources from git.
git clone --recursive http://github.com/ibayer/fastFM.git .
make TARGET=NEHALEM
Library should be built completely without errors.
Install it:
python setup.py install
Library now should be installed without errors.
Restart service Jupyter notebook if it was working. I had an error if I import lib after installation immediatelly.
Now, I can see fastFM in list pip list | grep fastFM
You can use it in python code:
import fastFM
Good luck!
from fastfm.
Thanks for the feedback 3.8 is currently not supported. We are working on a complete rewrite which will bring 3.8 support and much more.
from fastfm.
@ibayer : many thanks for your reply. it is very commendable that you devote your resources towards helping with the covid19 issue. Thanks!
regarding fastFM: yes, I actually got it to work with Python 3.8 (on macOS Catalina) using the following "installation scipt".
git clone --recursive https://github.com/ibayer/fastFM.git <destination>
cd <destination>/fastFM
make TARGET=HASWELL
cd - # Back to actual project
poetry run pip install <destination>/fastFM
I then also have simply "current" versions of the dependencies (cython, scipy etc.) in the actual project. However, I do not manage to install it via pip install fastFM
, so it is not particularly beautiful (also with a view on CI/CD pipelines), and I am very much interested in a version that would work with pip.
Regarding the beta that would be fantastic. Maybe I could also provide some help in the form of feedback etc then.
Thanks again and all the best
Moritz
from fastfm.
first, many thanks for the cool library
do you know for when the rewrite you mean is targeted? thx!
from fastfm.
@mohelm We made good progress but currently all free resources go into a public service covid19 related project. Feel free to ping me again in a few week, I should know more by then.
What features are you specific looking for, is it just the 3.8 support? We considering to release a limited beta version to shorten the time to the full release a bit.
from fastfm.
Hi,
I am facing a similar issue and methods above cannot solve my problem.
I try to install fastFM on an M1 mac with python3.8 but fail. Although following methods to make and install from source can install fastFM successfully, I found the following error when I run the code:
AttributeError: module 'ffm' has no attribute 'ffm_als_fit'
Does anyone managed to get it work on m1 with python 3.8?
from fastfm.
@zychen423 how were you able to compile? When running make
on macOS m1, I get make[3]: *** No rule to make target
../kernel/arm64/amin.S', needed by samin_k.o'. Stop.
from fastfm.
Any updates on this? Would love to see a version for Python 3.9+ as well.
from fastfm.
Related Issues (20)
- pip install . is not working on Winodws HOT 1
- Illegal instruction (core dumped) in ALS HOT 5
- Can fastfm use mini batch? HOT 1
- Check pairs range failed when fitting BPR
- OverflowError: n_iter too high in bpr.FMRecommender HOT 1
- Need partial_fit HOT 1
- Can fastfm use multicore to speed up training? HOT 1
- Fit complaining about both dense/sparse HOT 2
- Recompile for python 3.7 HOT 7
- Input of fit() and return value of predict_proba() method
- Fix simple typo: reommend -> recommend
- Import Error
- Compiling using OpenBLAS from anaconda
- Source file type in PyPi
- No coordinate descent solver available HOT 1
- Compilation error on macOS 11.2 ARM HOT 3
- Any plan to support py3.7+? HOT 1
- will it work for third order categorical features interaction ?
- will it work on windows OS?
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 fastfm.