praveen sinha
praveen sinha

Reputation: 43

SageMaker - cannot import sklearn

I am trying to import sklearn in SageMaker Notebook but unable to do so, getting the below error.

ModuleNotFoundError: No module named 'sagemaker.sklearn'

Is there any other SageMaker extension to be installed ?

SageMaker Code - Studio enter image description here

Kernel enter image description here

Upvotes: 2

Views: 342

Answers (1)

Giuseppe La Gualano
Giuseppe La Gualano

Reputation: 1720

It seems to be the compromised image/environment.

I recommend directly using the most up-to-date image that includes python 3.10:

Data Science 3.0

Upvotes: 0

Related Questions