Skip to content Skip to sidebar Skip to footer

Trouble Importing Skllearn

Hi i have installed the Scikit-learn but i keep getting error msgs when i try to import the sklearn module. it shows the following msg. anyone knows what's going on? import sklear

Solution 1:

As you can see in your errors: ImportError: No module named _check_build in that directory it has .c file and it never compiled.

If you check this link you will see many parts of scikit-learn has been written in C.

So for installing this kind of packages , you need to install python-dev package in your system.

python-dev package will install many C headers like python.h.

So install python-dev package in your system and then remove and install scikit-learn package again.


Post a Comment for "Trouble Importing Skllearn"