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
455 stars 121 forks source link

Py-earth installation on Debian giving Deprecation warnings and not identifying version. #169

Closed tomarharsh14 closed 6 years ago

tomarharsh14 commented 6 years ago

I am trying to install using git clone git://github.com/scikit-learn-contrib/py-earth.git cd py-earth sudo python setup.py install

However, I get stuck at Cloning into 'py-earth' ...

I downloaded the zip folder directly but this leads to version not being identified at the end of installation Finished processing dependencies for py-earth==0+unknown and thereby unsuccessful import into Python. How do I fix this? I am using Debian Jessie with Python 2.7.13

Referring to #89, I also removed the package from Downloads folder and unpacked pyearth in site-packages.

tomarharsh14 commented 6 years ago

The issue was related to multiple versions of Python. A careful check at the installations, and thanks to the nosetests provided, was able to properly get pyearth running.

Thank you and sorry for any trouble caused!