Path not set
See original GitHub issueHi, trying the use this wrapper and I am getting the error
OSError Traceback (most recent call last)
<ipython-input-1-6bd4815fa3b6> in <module>()
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/python3.5/dist-packages/pywFM/__init__.py in __init__(self, task, num_iter, init_stdev, k0, k1, k2, learning_method, learn_rate, r0_regularization, r1_regularization, r2_regularization, rlog, verbose, silent, temp_path)
103 self.__libfm_path = os.environ.get('LIBFM_PATH')
104 if self.__libfm_path is None:
--> 105 raise OSError("`LIBFM_PATH` is not set. Please install libFM and set the path variable (https://github.com/jfloff/pywFM#installing).")
106
107 def run(self, x_train, y_train, x_test, y_test, x_validation_set=None, y_validation_set=None):
OSError: `LIBFM_PATH` is not set. Please install libFM and set the path variable (https://github.com/jfloff/pywFM#installing).
I followed the install instructions exactly, specifically making sure I did the export path part correctly. What might be going wrong here?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
Read more >bootstrap class path not set - Stack Overflow
So I am getting- warning: [options] bootstrap class path not set in conjunction with -source 1.6.
Read more >How do I set or change the PATH system variable? - Java
From the desktop, right click the Computer icon. Choose Properties from the context menu. Click the Advanced system settings link. Click Environment Variables....
Read more >PATH and CLASSPATH (The Java™ Tutorials > Essential ...
This Java tutorial describes exceptions, basic input/output, concurrency, regular expressions, and the platform environment.
Read more >path is not set correctly when opening solution file from ...
When opening a solution file (an .sln file) from command line, the path in VS does not take the path in the command...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
environmental varibales can be setup from Jupyter via following
import sys,os,os.path
os.environ[‘LIBFM_PATH’]=os.path.expanduser(‘your bin path’)
Well, that’s environment vars 101: if you want to set you variables permanently you have to set them in the appropriate
.profile
fileCheers!