Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Install #69

Open
AlexSch518 opened this issue Jul 11, 2023 · 4 comments
Open

Cannot Install #69

AlexSch518 opened this issue Jul 11, 2023 · 4 comments

Comments

@AlexSch518
Copy link

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

@JHoelli
Copy link

JHoelli commented Jul 19, 2023

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

@lesteve
Copy link

lesteve commented Jun 4, 2024

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.

@gkhayes
Copy link
Owner

gkhayes commented Jun 4, 2024 via email

@lesteve
Copy link

lesteve commented Jun 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants