Open Merudo opened 4 years ago
When will this be available for use on Windows (not WSL) please?
I have been getting the same error in both windows and ubuntu when calling pip install rerf
I am missing something?
Env Windows 10, Ubuntu 18.04 with anaconda
I have been getting the same error in both windows and ubuntu when calling
pip install rerf
I am missing something?
Env Windows 10, Ubuntu 18.04 with anaconda
To correct my self I was trying to install the rerf package using WSL 2 on windows but I kept receiving this error. I then used another machine with Ubuntu installed and everything went fine.
OS
steps as explained in the doc i just added the first command
$ sudo apt-get install
$ sudo apt-get install build-essential cmake python3-dev libomp-dev libeigen3-dev
$ pip install rerf
Note: By default when using sklearn random forest, the y variables are encoded if they are categorical, for the case of Rerf the package doesn't do that automatically. So don't forget to encode your y variable else you may get null output eg when using cross_val_score method. (i used sklearn labelEncoder for encoding my y variables).
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 am unable to install
rerf
on Windows 10 (python).I tried updating pip, setuptools, and wheel, and reinstalling Visual Studio BuildTools but nothing seems to work.
To Reproduce Type
pip install rerf
to installrerf
.I get the following error:
Expected behavior The package should install properly.
Desktop (please complete the following information):