aryanknp
aryanknp

Reputation: 1167

Error when importing kerastuner : It seems that scikit-learn has not been built correctly

I try to import Kerastuner but it shows

It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

Then I run python setup.py install It says no file named setup.py I have scikit-learn installed and kerastuner as well. I am stuck here any suggestions would be great

Upvotes: 0

Views: 664

Answers (2)

Adorable Trooper
Adorable Trooper

Reputation: 47

So try using upgrading python version to 3.9.1 64-bit and then try to install using pip install scikit-learn. I have tried and it worked for me...

enter image description here

This is how it worked for me.

Upvotes: 1

Adorable Trooper
Adorable Trooper

Reputation: 47

Try using Anaconda...

conda install scikit-learn

Upvotes: 0

Related Questions