gkhayes/mlrose

Cannot Install

Opened this issue · 4 comments

PIP install fails. There is an issue in setup.py where it is trying to install sklearn instead of scikit-learn.

Hi,
I am not the author of the package, but I just had the same issue.

Sklearn is already replaced wit scikit-learn in the setup.py, only a new pypi release is missing. Therefore, pip install https://github.com/gkhayes/mlrose/archive/refs/heads/master.zip (with python 3.9. and pip 23.1.2) worked. Hope this helps.
Another workaround, that usually works for me (however I would not recommend to use it) is preinstalling "the old" sklearn pip install sklearn==0.0

Hi, scikit-learn developer here 👋.

@gkhayes is there any chance you could make a new PyPI release with the sklearn -> scikit-learn fix from #65. Of course I completely understand if you have plenty of other things to do that are higher priority for you.

We recently got two issues in scikit-learn about people trying to install mlrose and who got an error because of the dependency on the deprecated sklearn PyPI package. There are definitely some work-arounds but I am guessing a portion of users are unsure how to use them.

Thanks, there is no rush, but indeed that would be great if you manage to find the time to do this 🙏