Reputation: 15182
I have sklearn installed but still I have error:
ModuleNotFoundError: No module named 'sklearn.experimental'
when trying to run Jupyter notebook from Imputing missing values before building an estimator. I'm using pip for installation without any virtual environment.
Upvotes: 3
Views: 4595
Reputation: 15182
Just realized my pip version of sklearn is 20.03
while latest is scikit-learn v0.21.3
I've upgraded sklearn with (in CMD):
python -m pip install scikit-learn --user --upgrade pip
I've had permission error using standard upgrade command. I had to restart Jupyter notebook kernel with clear output, run cells again, run again (in first cell in Jupyter Notebook):
%matplotlib inline
and than it was working.
Upvotes: 4