Closed mglowacki100 closed 7 years ago
@mglowacki100 Can you provide more information about the OS version etc. ? It's often helpful to do a source install (see README) and post the output from each step here.
I have: Ubuntu 16.04.1 LTS, Release: 16.04
Now, I've installed it from source and it works fine.
Only in "make" step there was a warning:
from fastFM/ffm.c:437:
/usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
Before installing it fromy source I've tried to install it by pip and the same error occurs. I think, this issue could be closed. Btw. in Usage section of documentation, it would be good to add definitions of X_train, y_train, X_test to make example fully working (like in tutorial).
The warning is "normal" I thinks that's something that needs to be changed in numpy.
Before installing it fromy source I've tried to install it by pip and the same error occurs.
You mean it's possible that the pip install worked but produced a warning (not an error)?
Btw. in Usage section of documentation, it would be good to add definitions of X_train, y_train, X_test to make example fully working (like in tutorial).
Thanks for the comment. I have to think about this. Including the data definitions adds little information but distracts from the code library code (data definition need probably as much lines as calling the model).
I'm closing this now, please reopen if you think that the binary on pip has an issue.
To be more precise: binary install didn't work out (this long log), but source install works correctly.
I suppose that problem could be that I have Ubunt 16.04, but fastFM is tested on 14.04.
The same problem occurred when I run pip install -U fastFM
.
os: ubuntu 16.04.1
gcc: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
python: 3.5.2 (installed from pyenv)
Travis builds and tests the binaries on 14.04 and I upload them to pypi. Maybe the binaries are version specific for some reason. If that's the case we should check if we can change this or if we can upload binaries for both 14.04 and 16.04.
There were no problem with pip install fastFM==0.2.5
on Ubuntu 16.04.
I guess something is wrong from v0.2.5.
I had the same problem and henry's solution worked for me on ubuntu 16.04.
@ibayer Installing from source works fine. I think it's worth uploading binaries for Ubuntu 16.04.
I made a new release that should fix this issue. Can you confirm that pip install
works on ubuntu 16.04 now?
@ibayer Installing v0.2.9 works fine! Thank you.
❯ pip install --no-cache fastFM
Collecting fastFM
Downloading fastFM-0.2.9.tar.gz (259kB)
100% |████████████████████████████████| 266kB 3.2MB/s
Requirement already satisfied: numpy in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from fastFM)
Requirement already satisfied: scikit-learn in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from fastFM)
Requirement already satisfied: scipy in ./.pyenv/versions/3.5.2/lib/python3.5/site-packages (from fastFM)
Installing collected packages: fastFM
Running setup.py install for fastFM ... done
Successfully installed fastFM-0.2.9
@henry0312 Thanks for the feedback
I've tried to install fastFM by pip, but I've got error from Cython: