Description
I followed the instructions as you wrote on the github and can successfully run the test codes.
however, I met the following error when running in my jupyter notebook
OSError Traceback (most recent call last)
in ()
16 target = [5, 3, 1, 4, 5, 1, 5]
17
---> 18 fm = pywFM.FM(task='regression', num_iter=5)
19
20 # split features and target for train/test
/usr/local/lib/python2.7/dist-packages/pywFM/init.pyc in init(self, task, num_iter, init_stdev, k0, k1, k2, learning_method, learn_rate, r0_regularization, r1_regularization, r2_regularization, rlog, verbose, seed, silent, temp_path)
OSError: LIBFM_PATH
is not set. Please install libFM and set the path variable (https://github.com/jfloff/pywFM#installing).
actually I have already set the LIBFM_PATH in my ~/.bashrc file as this:
export LIBFM_PATH=$HOME/local/libfm/bin
I don't know why the jupyter notebook cannot find this path