Reputation: 109
I've installed sklearn using pip install -U scikit-learn
command and its successfully installed at c:\python27\lib\site-packages
but when i'm importing from sklearn.cluster import KMeans
it gives me error.
. I've checked the package
C:\Python27\Lib\site-packages\sklearn
and its there. How can I get rid of this.
Upvotes: 1
Views: 1764
Reputation: 33542
Now with your screenshot given, here is the problem:
Now i see you are on windows and installing scipy there is hard. But please: take your time to search here on SO, as this is asked every day and the answer is still the same. Read the official docs and take a decision on which route to go (not pip install scipy!).
Upvotes: 1