-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy installation on mac #13
Comments
Please start from scratch and list all comments you run including output.
I looks like fastFM/fastFM-core didn't compile and you are missing the atlas library. |
Hmmm ok thank you. So I do it again from the begining :
|
Hi, sorry for the late response. I would first check if the fastFM-core compiles properly.
|
Hello,
(gtester:992): GLib-WARNING *: Failed to execute test binary: test_random: L'ex?cution du processus fils ??test_random?? a ?chou? (No such file or directory) |
You are missing the cblas library. Did you install the dependencies? |
Yes I did, look it says that its already installed : MacBook-Pro-de-Edmond:~ edmondjacoupeau$ brew install glib gsl argp-standalone |
Delete the fastFM folder and clone again to make sure that you have the latest version.
|
Here are the results with that command line, the previous one and another one with dependencies :
|
Looks to me that you are missing the C library |
I tryed to install it like this https://pheiter.wordpress.com/2012/09/04/howto-installing-lapack-and-blas-on-mac-os/, I found simply running brew install openblas fixed it for me. But I still have the same problem, did somebody used fastFM on mac in practice ? |
Yes, a few people use fastFM on mac. |
Hmmm ok, then I will to find why do I have this error and wait for somebody who knows why. |
Hey! I found solution and installed fastFM on mac:
Will wait for your results of this installation =) |
Hello, Sorry for the late .
Thank you for helping me : ). |
Replace
with
and repeat all. |
Understood, here are the results :
|
What mac os version do you have? |
Try to do
|
I have El Capitan, do you want me to downgrade to help us to fix it ?
READ THIS: https://git.io/brew-troubleshooting Warning:
|
@edmondja I followed the guide here
I didn't need |
Hello, Ok i tryed : MacBook-Pro-de-Edmond:~ edmondjacoupeau$ brew install gcc brew install pkg-config brew install glib gsl argp-standalone brew install openblas brew link --force openblas brew link --force glib And this gives me a little error (i think because my version is too recent) : But FastFM still refuses to install :
Command "/Users/edmondjacoupeau/anaconda/bin/python3 -c "import setuptools, tokenize; file='/Users/edmondjacoupeau/fastFM/setup.py'; exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps" failed with error code 1 in /Users/edmondjacoupeau/fastFM Thank you. |
All external dependencies have been removed and Travis CI has been enabled to make sure the OSX build works. Please have a look at the updated README. |
Factorization Machines works now perfectly on El Capitan ! |
Hello,
I was wondering if there was an easy way to install FastFM on mac,
because I have followed all the instructions of the updated readme
but only the last command fails :
In my terminal, when I exectue in the FastFM folder 'sudo pip install -e .' , I get :
fastFM/ffm.c:7789:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
^
21 warnings generated.
gcc -bundle -undefined dynamic_lookup -L/Users/edmondjacoupeau/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/fastFM/ffm.o -LfastFM/ -LfastFM-core/bin/ -LfastFM-core/externals/CXSparse/Lib/ -L/usr/lib/ -L/usr/lib/atlas-base/ -L/Users/edmondjacoupeau/anaconda/lib -lm -lfastfm -lcxsparse -lgsl -lgslcblas -lglib-2.0 -o /Users/edmondjacoupeau/fastFM/ffm.so
ld: warning: directory not found for option '-LfastFM-core/bin/'
ld: warning: directory not found for option '-L/usr/lib/atlas-base/'
ld: library not found for -lfastfm
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
Command "/Users/edmondjacoupeau/anaconda/bin/python -c "import setuptools, tokenize; file='/Users/edmondjacoupeau/fastFM/setup.py'; exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps" failed with error code 1 in /Users/edmondjacoupeau/fastFM
Do I have forgotten something ?
The text was updated successfully, but these errors were encountered: