Open learningelectric opened 2 years ago
I am having the same issue when running pip install rerf
In file included from src/src/baseFunctions/../forestTypes/unsupervisedForests/urf/fpURFBase.h:13:0,
from src/src/baseFunctions/fpForestFactory.h:8,
from src/src/packedForest.h:23,
from src/packedForest.cpp:1:
src/src/baseFunctions/../forestTypes/unsupervisedForests/urf/urfTree.h:9:30: fatal error: eigen3/Eigen/Dense: No such file or directory
#include <eigen3/Eigen/Dense>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
me too, please help!
Haha. I have given up on rerf, I choose deep forest !!!
even i have the same issue while installing ,can u pls help how can i resolve this?
even i have the same issue while installing ,can u pls help how can i resolve this?
Identified my mistake, Thanks @burhr2 for the idea initially we have to install a virtual environment in the google colab notebook then we have to use following commands for installing rerf library !sudo apt-get install ! sudo apt-get install build-essential cmake python3-dev libomp-dev libeigen3-dev ! pip install rerf Then these 3 commands will finish the task of installing rerf library which we use for oblique random forest implementation. Then we can import it and use rerf classifier/regressor as per our need. import rerf from rerf.rerfClassifier import rerfClassifier
Important thing to note here is it is better to create a virtual environment in colab notebook before installing library as I faced some problems because of it and process will be smooth if u install virtual env and work in it. Also these lines of code will work in both windows/Linux, also I think it would work on macOS but not exactly sure
Describe the bug I meet a bug about installing
pip install rerf
To Reproduce
In file included from src/src/baseFunctions/../forestTypes/unsupervisedForests/urf/fpURFBase.h:13, from src/src/baseFunctions/fpForestFactory.h:8, from src/src/packedForest.h:23, from src/packedForest.cpp:1: src/src/baseFunctions/../forestTypes/unsupervisedForests/urf/urfTree.h:9:10: 致命错误:eigen3/Eigen/Dense:没有那个文件或目录
include <eigen3/Eigen/Dense>
Expected behavior pip install rerf
Desktop (please complete the following information):
Please help!