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

ModuleNotFoundError: No module named 'sklearn.cluster.k_means_' #4

Open
TomatoBoy90 opened this issue Jul 20, 2021 · 2 comments
Open

Comments

@TomatoBoy90
Copy link

what is version of sklearn in your project?
why not the cluster.k_means_ I installed sklearn?

@TomatoBoy90
Copy link
Author

when I use sklearn0.24 it will come 'No module named 'sklearn.cluster.k_means_'',however I use sklearn0.19 it will come 'No module named 'sklearn.cluster._k_means_fast''

@wuzhenyubuaa
Copy link

I have had the same problem and solved it by uninstalling scikit and install and older version (0.22).

pip uninstall scikit-learn
pip install scikit-learn==0.22

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

2 participants