Getting PyCharm to import sklearn

后端 未结 8 1165
盖世英雄少女心
盖世英雄少女心 2021-02-18 22:32

Beginner here.

I’m trying to use sklearn in pycharm. When importing sklearn I get an error that reads “Import error: No module nam

8条回答
  •  终归单人心
    2021-02-18 23:11

    Double check your python interpreter. Check whether you have select correct interpreter at the first when you create the project.

    Or else you can check your interpreter from the project view under External Libraries.

    In your case if you didn't select 2.7.10 (/anaconda/bin/python.app) as your interpreter for the project at the beginning still the program give the same error Import error: No module named sklearn.

提交回复
热议问题