scikit-learn-contrib / py-earth

A Python implementation of Jerome Friedman's Multivariate Adaptive Regression Splines
http://contrib.scikit-learn.org/py-earth/
BSD 3-Clause "New" or "Revised" License
459 stars 122 forks source link

pip install sklearn-contrib-py-earth on COLAB fail #229

Open RepiZoli opened 1 year ago

RepiZoli commented 1 year ago

Hi all,

I try to install py-earth on google colab : but it failed

It respond:

_**_Collecting sklearn-contrib-py-earth Using cached sklearn-contrib-py-earth-0.1.0.tar.gz (1.0 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: scipy>=0.16 in /usr/local/lib/python3.10/dist-packages (from sklearn-contrib-py-earth) (1.10.1) Requirement already satisfied: scikit-learn>=0.16 in /usr/local/lib/python3.10/dist-packages (from sklearn-contrib-py-earth) (1.2.2) Requirement already satisfied: six in /usr/local/lib/python3.10/dist-packages (from sklearn-contrib-py-earth) (1.16.0) Requirement already satisfied: numpy>=1.17.3 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.23.5) Requirement already satisfied: joblib>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.3.2) Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (3.2.0) Building wheels for collected packages: sklearn-contrib-py-earth error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for sklearn-contrib-py-earth (setup.py) ... error ERROR: Failed building wheel for sklearn-contrib-py-earth Running setup.py clean for sklearn-contrib-py-earth Failed to build sklearn-contrib-py-earth ERROR: Could not build wheels for sklearn-contrib-py-earth, which is required to install pyproject.toml-based projects**

I try to find solution, but I did not find any

Can you help.