ModuleNotFoundError: No module named 'sklearn'

前端 未结 10 1308
天涯浪人
天涯浪人 2020-12-29 17:37

I want to import sklearn but there is no module apparently:

ModuleNotFoundError: No module named \'sklearn\'

I am using Anaconda and

10条回答
  •  隐瞒了意图╮
    2020-12-29 18:20

    install these ==>> pip install -U scikit-learn scipy matplotlib if still getting the same error then , make sure that your imoprted statment should be correct. i made the mistike while writing ensemble so ,(check spelling) its should be >>> from sklearn.ensemble import RandomForestClassifier

提交回复
热议问题