Lejla Lejla - 7 months ago 45
Python Question

No module named 'scikit' using anaconda (Windows)

I installed

using command
conda install scikit-learn
and it is available under my anaconda installation folder.

However, after running python (Python 3.5.2 |Anaconda custom (64-bit)) I get:

ImportError: No module named 'scikit'

I have the environment variables:

PYTHONHOME = C:\Users\Lejla\Anaconda3
PYTHONPATH = C:\Users\Lejla\Anaconda3\Lib

And also I have these included in my



This is because the scikit-learn package isn't imported via the name scikit. You should use sklearn during your import, that is:

>>> import sklearn

Take a look at their documentation while you're using it, details (among the being how to import it) are clearly shown there.